From f1d0ed3f0c6ea63320a6c9aafa680ff43ef5e8f8 Mon Sep 17 00:00:00 2001 From: codl Date: Sat, 12 Aug 2017 01:54:19 +0200 Subject: [PATCH] add development procfile --- Procfile.dev | 3 +++ README.markdown | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 Procfile.dev diff --git a/Procfile.dev b/Procfile.dev new file mode 100644 index 0000000..2cae11e --- /dev/null +++ b/Procfile.dev @@ -0,0 +1,3 @@ +web: env FLASK_APP=forget.py FLASK_DEBUG=t flask run +worker: python tasks.py -B -Ofair +build: doit auto diff --git a/README.markdown b/README.markdown index b57713d..b129c2c 100644 --- a/README.markdown +++ b/README.markdown @@ -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