[bd22c4]: / src / dash / README.md

Download this file

24 lines (17 with data), 758 Bytes

Notes on launching server

  1. Transfer SQLITE database to 'data/SQLite Database/DATE'

  2. Sync git repo

  3. git checkout --force # to avoid conflicts from local changes
  4. git pull

  5. Update index.py

  6. app.run_server(debug=False, host='0.0.0.0', port='8080')
  7. Running on: 209.188.7.206:8080

  8. Run with anaconda3:

  9. start screen: screen
  10. Or reattach to screen: screen -ls + scree -r $screen_id
  11. /root/anaconda3/bin/python index.py
  12. Detach from screen: screen cntrl+a cntrl+d

  13. Running with gunicorn:

  14. /root/anaconda3/bin/gunicorn index:server -b 0.0.0.0:8080 --timeout=180

  15. Running via https:

  16. /root/anaconda3/bin/gunicorn index:server -b 0.0.0.0:8080 --timeout=180 --certfile covid-omics.app.crt --keyfile covid-omics.key