From a92c86ac1592c2137d3d1fec1668eacc2d0ca581 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Fri, 7 Nov 2025 18:53:44 +0800 Subject: Remove silly permission commands. --- README.txt | 7 ++----- 1 file 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 -- cgit v1.2.3