Last active
May 22, 2017 19:37
-
-
Save cryptoquick/68c8ff4652cb752af17ff7b0db478b95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Variables | |
PROJECT="your-google-project-name" | |
gcloud config set project $PROJECT | |
# Upload to Bucket | |
# Comment these out once used, because changes to these happen rarely | |
gsutil cp startup.sh gs://$PROJECT/scripts/meteor_startup.sh | |
gsutil cp nginx.conf gs://$PROJECT/config/nginx.conf | |
gsutil cp ../app-secure/app.pem gs://$PROJECT/secure/app.pem | |
gsutil cp ../app-secure/app.key gs://$PROJECT/secure/app.key | |
# Upload app code bundle | |
gsutil cp ../app-build/* gs://$PROJECT/bundle/app/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment