Skip to content

Commit

Permalink
test for double config
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Jan 26, 2020
1 parent 6e104e0 commit afb5cba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions local.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from app import create_app
from app import socketio

app = create_app(debug=False, local=True)

# if __name__ == "__main__":
# socketio.run(app)
3 changes: 2 additions & 1 deletion production.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ parts +=

[supervisor]
programs =
200 gunicorn ${buildout:directory}/bin/gunicorn [-c ${buildout:directory}/gunicorn_config.py wsgi:app] ${buildout:directory} true
200 production ${buildout:directory}/bin/gunicorn [-c ${buildout:directory}/gunicorn_config.py production:app] ${buildout:directory} true
300 production ${buildout:directory}/bin/gunicorn [-c ${buildout:directory}/gunicorn_config.py -b 127.0.0.1:8000 local:app] ${buildout:directory} true

[crontab.reboot]
recipe = z3c.recipe.usercrontab
Expand Down
File renamed without changes.

0 comments on commit afb5cba

Please sign in to comment.