Skip to content
Snippets Groups Projects
Commit 8691d85a authored by Colton Leekley-Winslow's avatar Colton Leekley-Winslow
Browse files

CONFIG_FILE, AUTO_RELOAD_INTERVAL in run-dev-osx.sh

parent ef143a24
No related branches found
No related tags found
No related merge requests found
bin/api.wsgi 100755 → 100644
......@@ -2,9 +2,6 @@
import sys
import os.path
repo_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
sys.path.append(repo_path)
from api import api
application = api.app_factory()
......@@ -29,6 +29,7 @@ while [[ "$#" -gt 0 ]]; do
case $key in
-C|--config-file)
CONFIG_FILE="$1"
. "$CONFIG_FILE"
shift
;;
--help)
......@@ -106,7 +107,7 @@ if [ "$SCITRAN_RUNTIME_UWSGI_INI" == "" ]; then
--wsgi-file "bin/api.wsgi" \
-H "$SCITRAN_RUNTIME_PATH" \
--die-on-term \
--py-autoreload $AUTO_RELOAD \
--py-autoreload $AUTO_RELOAD_INTERVAL \
--env "SCITRAN_CORE_DRONE_SECRET=$SCITRAN_CORE_DRONE_SECRET" \
--env "SCITRAN_PERSISTENT_DB_URI=$SCITRAN_PERSISTENT_DB_URI" \
--env "SCITRAN_PERSISTENT_PATH=$SCITRAN_PERSISTENT_PATH" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment