Project for hackathon
- install pipenv
- start pipenv from Pipfile
- Set the flask environment variable Note: do not enable development mode in production environment
Linux:
export FLASK_APP=hacktech.py
export FLASK_ENV=development
flask run
Windows:
set FLASK_APP=hacktech.py
set FLASK_ENV=development
flask run
-
Website is at 127.0.0.1
-
To SSH into REMOTE:
ssh hackathon@198.199.94.88
password: mudd
NGINX configuration is in etc/nginx/sites-available (or sites-enabled), name: hacktech
sudo service nginx restart
Project is stored in /home/hacktech (contains .sock that NGINX routes to).