Skip to content

Latest commit

 

History

History
executable file
·
40 lines (30 loc) · 667 Bytes

README.md

File metadata and controls

executable file
·
40 lines (30 loc) · 667 Bytes

HackTech2019

Project for hackathon

  1. install pipenv
  2. start pipenv from Pipfile
  3. 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 
  1. Website is at 127.0.0.1

  2. To SSH into REMOTE:

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).