Much better

This commit is contained in:
Dominik V. Salonen 2016-02-02 10:10:45 +01:00
parent 8048d0415b
commit 3d59f949cf
5 changed files with 4 additions and 3 deletions

View File

View File

@ -23,7 +23,8 @@ A temporary (or permanent, depending on configuration) file sharing service writ
* Clone the repo somewhere
* Do ``cp conf.py.sample conf.py``
* Edit ``conf.py`` so that the information is correct
* If possible, make it listen on ``127.0.0.1`` and then use something like nginx as a reverse proxy. For security purposes
* `sqlite3 files.db < schema.sql`
* If possible, make it listen on ``127.0.0.1`` and then use something like nginx as a reverse proxy. For security purposes. Using gunicorn and the WSGI entry point is even better if you know how to do that.
* ``chmod +x run.py`` and then ``./run.py``
* ???
* PROFIT (Hopefully)

4
run.py
View File

@ -13,8 +13,8 @@ from random import randint
from conf import config
# Import Hyozan stuff
from Hyozan import db
from Hyozan.output import print_log, time_to_string
from QuadFile import db
from QuadFile.output import print_log, time_to_string
app = Flask(__name__)