The code for my personal media sharing site
https://share.skehsucks.xyz
migrations | ||
static | ||
templates | ||
.bowerrc | ||
.gitignore | ||
bower.json | ||
models.py | ||
notpiracyiswear.py | ||
Pipfile | ||
Pipfile.lock | ||
README.md | ||
setup.py |
Share
because ftp was too easy
Quickstart
It's easy peasy my dude
-
Install pip and pipenv
apt install pip3 pip3 install pipenv apt install npm npm install bower
-
Get dependencies
pipenv install bower install
-
Initialize
pipenv run python setup.py serve_dir [--secret SECRET_KEY] [--db CONNECTION_STRING]
-
Run it
-
For testing
pipenv shell FLASK_APP="notpiracyiswear.py" flask run
-
For production
pipenv run gunicorn notpiracyiswear:app -k 'eventlet'
-