chase2981 / data3600

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

 40  pip install virtualenv
 41  virtualenv venv
 42  . venv/bin/activate
 43  git status
 44  pip install flask
 45  echo "web: gunicorn app:app" > Procfile
 46  python3 -m pip install gunicorn==20.0.4
 47  python3 -m pip freeze > requirements.txt
 48  git status
 49  git add . 
 50  git commit -am "progress"
 51  git status
 52  git push

then connect repo to heroku and deploy

or run

flask --debug run --host=0.0.0.0 

if on ec2 instance and do the security groups to allow port 5000 and visit it that way

About


Languages

Language:Python 99.2%Language:C 0.7%Language:Shell 0.1%Language:HTML 0.0%Language:Procfile 0.0%