second-state/smart-contract-search-engine

Document how to deploy the io.py file (Flask)

tpmccallum opened this issue · 1 comments

At present this is being started in the command line

python3.6 python/io.py

This needs to be automated (including checks when/if Flask ever stops)

This is now started in cron and runs in the background along with Apache2 and the Python harvesting scripts.

@reboot cd /var/www/site-name/html/python && nohup /usr/bin/python3.6 io.py >/dev/null 2>&1 &