Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
fixed dev script
Browse files Browse the repository at this point in the history
  • Loading branch information
hamelsmu committed Aug 23, 2019
1 parent 31eb3f6 commit 892872f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ Flask = "==1.0.2"
"github3.py" = "==1.3.0"
ipython_genutils = "==0.2.0"
Jinja2 = "==2.10.1"
jupyter_client = "==5.2.4"
jupyter_console = "==6.0.0"
jupyter_core = "==4.4.0"
Keras-Applications = "==1.0.7"
Keras-Preprocessing = "==1.0.9"
Keras = "==2.2.4"
Expand All @@ -133,8 +131,10 @@ Send2Trash = "==1.5.0"
SQLAlchemy = "==1.3.1"
Unidecode = "==1.0.23"
Werkzeug = "==0.15.1"
gunicorn = "*"
google-cloud-pubsub = "*"
gunicorn = "==19.9.0"
google-cloud-pubsub = "==0.45.0"
jupyter-client = "==5.2.4"
jupyter-core = "==4.4.0"

[requires]
python_version = "3.6"
8 changes: 4 additions & 4 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions script/dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

docker run -e FLASK_ENV=$FLASK_ENV \
-e PORT=$PORT -e DATABASE_URL=$DATABASE_URL \
-e PRIVATE_KEY="$(echo $PRIVATE_KEY)" \
-e PRIVATE_KEY="${PRIVATE_KEY}" \
-e WEBHOOK_SECRET=$WEBHOOK_SECRET \
-e APP_ID=$APP_ID \
-e APP_URL=$APP_URL \
-e GCP_PROJECT_ID=$GCP_PROJECT_ID \
-e GCP_PUBSUB_TOPIC_NAME=$GCP_PUBSUB_TOPIC_NAME \
-e PUBSUB_CREDENTIALS_JSON_BLOB="$(echo $PUBSUB_CREDENTIALS_JSON_BLOB)" \
-e PUBSUB_CREDENTIALS_JSON_BLOB="${PUBSUB_CREDENTIALS_JSON_BLOB}" \
-e DEVELOPMENT_FLAG=True \
-p 3000:$PORT hamelsmu/mlapp

0 comments on commit 892872f

Please sign in to comment.