Skip to content

Instantly share code, notes, and snippets.

@mrgreyves
Last active June 29, 2020 16:16
Show Gist options
  • Save mrgreyves/9e4428af64d599c57ff29256554b725d to your computer and use it in GitHub Desktop.
Save mrgreyves/9e4428af64d599c57ff29256554b725d to your computer and use it in GitHub Desktop.
#!/bin/bash
apt update
apt install -fy python-setuptools build-essential python-dev python-pip
pip install Werkzeug>=0.15
pip install itsdangerous
pip install Jinja2>=2.10.1
pip install psutil
easy_install flask psutil
wget https://gist.githubusercontent.com/Nklya/4f8944d99e43b6c44a9767a93daa1592/raw/149ee890f4201ac5ce53888846f6b3e7601be6ba/app.py -O app.py
FLASK_APP=app.py flask run --host=0.0.0.0 --port=80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment