2
0
mirror of https://github.com/codl/forget synced 2024-12-27 07:32:34 +01:00

add development procfile

This commit is contained in:
codl 2017-08-12 01:54:19 +02:00
parent 8236c4526d
commit f1d0ed3f0c
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
2 changed files with 6 additions and 0 deletions

3
Procfile.dev Normal file
View File

@ -0,0 +1,3 @@
web: env FLASK_APP=forget.py FLASK_DEBUG=t flask run
worker: python tasks.py -B -Ofair
build: doit auto

View File

@ -29,6 +29,9 @@ $ doit
$ # start web server and background worker $ # start web server and background worker
$ honcho start $ honcho start
$ # if you are doing development then you can try the dev procfile
$ honcho -f Procfile.dev start
``` ```
the web server will listen on `127.0.0.1:42157`, you'll probably want to proxy with nginx or apache or what have you the web server will listen on `127.0.0.1:42157`, you'll probably want to proxy with nginx or apache or what have you