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
2018-08-24 13:22:44 -07:00
migrations Change referal key from uuid to urlsafe token via secrets module 2018-06-03 16:34:02 -07:00
static Fix various css bugs 2018-07-26 13:45:19 -07:00
templates Implement basic ratelimiting 2018-07-26 14:30:23 -07:00
.gitignore Use config.json instead of settings.cfg 2018-07-26 12:17:49 -07:00
models.py Change referal key from uuid to urlsafe token via secrets module 2018-06-03 16:34:02 -07:00
notpiracyiswear.py Fix "SERVE_DIR" config 2018-08-24 13:22:44 -07:00
Pipfile Implement basic ratelimiting 2018-07-26 14:30:23 -07:00
Pipfile.lock Implement basic ratelimiting 2018-07-26 14:30:23 -07:00
README.md Add a readme 2018-07-26 12:22:40 -07:00
setup.py Fix "SERVE_DIR" config 2018-08-24 13:22:44 -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
    
  2. Get dependencies

    pipenv 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