Much better
This commit is contained in:
parent
8048d0415b
commit
3d59f949cf
|
@ -23,7 +23,8 @@ A temporary (or permanent, depending on configuration) file sharing service writ
|
||||||
* Clone the repo somewhere
|
* Clone the repo somewhere
|
||||||
* Do ``cp conf.py.sample conf.py``
|
* Do ``cp conf.py.sample conf.py``
|
||||||
* Edit ``conf.py`` so that the information is correct
|
* 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``
|
* ``chmod +x run.py`` and then ``./run.py``
|
||||||
* ???
|
* ???
|
||||||
* PROFIT (Hopefully)
|
* PROFIT (Hopefully)
|
4
run.py
4
run.py
|
@ -13,8 +13,8 @@ from random import randint
|
||||||
from conf import config
|
from conf import config
|
||||||
|
|
||||||
# Import Hyozan stuff
|
# Import Hyozan stuff
|
||||||
from Hyozan import db
|
from QuadFile import db
|
||||||
from Hyozan.output import print_log, time_to_string
|
from QuadFile.output import print_log, time_to_string
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue