summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/README.txt b/README.txt
index ff8c156..b25dfa4 100644
--- a/README.txt
+++ b/README.txt
@@ -6,13 +6,10 @@ to deploy Atlas to an OpenBSD server using httpd.
1. Install flask, flup, and requests Python packages.
2. Create directory /var/www/etlas with server.fcgi and tickers.txt.
3. Set the POLYGON_API_KEY environment variable.
- 4. Change ownership of /var/www/run temporarily (to create etlas.sock):
- # chown -R www:www /var/www/run
+ 4. Give write permissions to of /var/www/run (to create etlas.sock):
5. Change directory: $ cd /var/www/etlas
5. Start FastCGI server: $ doas -u www nohup python3 server.fcgi &
- 6. Restore ownership of /var/www/run:
- # chown -R root:daemon /var/www/run
- # chown www:www /var/www/run/etlas.sock
+ 6. Remove write access to /var/www/run:
7. Configure httpd (see scripts/httpd.conf for a template).
8. Create API user:
# mkdir /var/www/htdocs/etlas