1
0
Fork 0
The code for my personal media sharing site https://share.skehsucks.xyz
This repository has been archived on 2019-02-15. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Derek Schmidt 25ca7bb9bd
*snort*
2018-09-12 13:08:31 -07:00
migrations Added new user permissions into db 2018-09-08 10:55:46 -07:00
static Remove extra padding on login_form 2018-09-08 17:24:13 -07:00
templates *snort* 2018-09-12 13:08:31 -07:00
.bowerrc Implemented upload page 2018-09-08 17:12:07 -07:00
.gitignore Implemented upload page 2018-09-08 17:12:07 -07:00
bower.json Implemented upload page 2018-09-08 17:12:07 -07:00
models.py Fixed bug where referals didnt carry user args over 2018-09-08 12:48:50 -07:00
notpiracyiswear.py Use abspath over realpath 2018-09-08 17:30:18 -07:00
Pipfile Add eventlet as a dependency 2018-08-24 13:24:26 -07:00
Pipfile.lock Add eventlet as a dependency 2018-08-24 13:24:26 -07:00
README.md Update readme for bower deps 2018-09-08 17:30:50 -07:00
setup.py Added new user permissions into db 2018-09-08 10:55:46 -07:00

Share

because ftp was too easy

Quickstart

It's easy peasy my dude

  1. Install pip and pipenv

    apt install pip3
    pip3 install pipenv
    apt install npm
    npm install bower
    
  2. Get dependencies

    pipenv install
    bower install
    
  3. Initialize

    pipenv run python setup.py serve_dir [--secret SECRET_KEY] [--db CONNECTION_STRING]
    
  4. Run it

    • For testing

      pipenv shell
      FLASK_APP="notpiracyiswear.py" flask run
      
    • For production

      pipenv run gunicorn notpiracyiswear:app -k 'eventlet'