Skip to content

Commit

Permalink
file configuration chages
Browse files Browse the repository at this point in the history
  • Loading branch information
amanujaya committed Jan 19, 2021
1 parent 0c84889 commit d284b48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/app-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ automatic_scaling:
max_instances: 2
max_concurrent_requests: 40

entrypoint: gunicorn -b :\$PORT -w 4 "superset.app:create_app()"
entrypoint: gunicorn -b :\$PORT -w 4 \"superset.app:create_app()\"

vpc_access_connector:
name: \"projects/${PROJECT_ID}/locations/${REGION}/connectors/superset-connector\"
Expand Down
5 changes: 3 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ run() {
tar -zxf *.tar.gz
cd dist
tar -zxvf apache*.tar.gz
cd apache*
cd apache-superset-0.37.2
cp ../../requirements.txt .
cat ../../requirements-db.txt >> requirements.txt
cp ../../../config/app.yaml .
Expand All @@ -14,4 +14,5 @@ run() {
}

rm -rf .staging && mkdir .staging
(cd .staging && run)
chmod 0777 -R .
(cd .staging && run)

0 comments on commit d284b48

Please sign in to comment.