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
2019-02-15 11:59:08 -07:00
migrations Added new user permissions into db 2018-09-08 10:55:46 -07:00
static Fix small bugs in upload page 2018-09-12 16:38:52 -07:00
templates Remove unsed template 2019-02-15 11:59:08 -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 Return 404 if trying to upload to non-existant directory 2019-02-15 11:46:45 -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'