Skip to content

Commit

Permalink
Merge pull request #138 from lucyparsons/move-run-py
Browse files Browse the repository at this point in the history
Fix run.py to run dev server
  • Loading branch information
r4v5 authored Dec 21, 2016
2 parents 394dae1 + 7ef021c commit 76ed26f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIB.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you run the app in debug mode, you can see these changes take effect on every
$ sudo service gunicorn stop
* Stopping Gunicorn workers
[oo] *
vagrant@vagrant-ubuntu-trusty-64:~$ cd /vagrant/
vagrant@vagrant-ubuntu-trusty-64:~$ cd /vagrant/OpenOversight/
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ ~/oovirtenv/bin/python ./run.py
* Running on http://127.0.0.1:3000/ (Press CTRL+C to quit)
* Restarting with stat
Expand Down
2 changes: 1 addition & 1 deletion run.py → OpenOversight/run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from OpenOversight.app import create_app, db
from app import create_app
config = os.getenv('FLASK_CONFIG') or 'default'
app = create_app(config)
app.run(port=3000, host='0.0.0.0')

0 comments on commit 76ed26f

Please sign in to comment.