mirror of
https://github.com/codl/forget
synced 2024-12-26 15:13:04 +01:00
add development procfile
This commit is contained in:
parent
8236c4526d
commit
f1d0ed3f0c
3
Procfile.dev
Normal file
3
Procfile.dev
Normal 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
|
@ -29,6 +29,9 @@ $ doit
|
||||
|
||||
$ # start web server and background worker
|
||||
$ 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
|
||||
|
Loading…
Reference in New Issue
Block a user