diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-11-07 18:53:44 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-11-07 18:53:44 +0800 |
| commit | a92c86ac1592c2137d3d1fec1668eacc2d0ca581 (patch) | |
| tree | b2fff0bfb52cb031be115909c7ac75d8c9078d35 /README.txt | |
| parent | 560236cb66edbdf6879f01b3a84a8c1721601357 (diff) | |
| download | etlas-master.tar.gz | |
Diffstat (limited to 'README.txt')
| -rw-r--r-- | README.txt | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |
