summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-11-07 18:53:44 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-11-07 18:53:44 +0800
commita92c86ac1592c2137d3d1fec1668eacc2d0ca581 (patch)
treeb2fff0bfb52cb031be115909c7ac75d8c9078d35
parent560236cb66edbdf6879f01b3a84a8c1721601357 (diff)
downloadetlas-a92c86ac1592c2137d3d1fec1668eacc2d0ca581.tar.gz
Remove silly permission commands.HEADmaster
-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