From 7ef021cbdf9d58ab20fbfa715105009f9651be35 Mon Sep 17 00:00:00 2001 From: redshiftzero Date: Tue, 20 Dec 2016 16:44:05 -0800 Subject: [PATCH] Move run.py back to original location --- CONTRIB.md | 2 +- run.py => OpenOversight/run.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename run.py => OpenOversight/run.py (72%) diff --git a/CONTRIB.md b/CONTRIB.md index 9f5f9444f..376d9707c 100644 --- a/CONTRIB.md +++ b/CONTRIB.md @@ -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 diff --git a/run.py b/OpenOversight/run.py similarity index 72% rename from run.py rename to OpenOversight/run.py index e1e19864c..03f68e455 100755 --- a/run.py +++ b/OpenOversight/run.py @@ -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')