Use version for GAE
This commit is contained in:
parent
5c0b0031cd
commit
468a19e8f3
|
|
@ -21,7 +21,7 @@ The browser extension in `crabfit-browser-extension` can be tested by first runn
|
||||||
2. Run `./deploy.sh` to compile and deploy.
|
2. Run `./deploy.sh` to compile and deploy.
|
||||||
|
|
||||||
### Backend
|
### Backend
|
||||||
1. Deploy the backend `cd crabfit-backend && gcloud app deploy --project=crabfit`
|
1. Deploy the backend `cd crabfit-backend && gcloud app deploy --project=crabfit --version=v1`
|
||||||
2. Deploy the endpoints service `cd crabfit-backend && gcloud endpoints services deploy swagger.yaml`
|
2. Deploy the endpoints service `cd crabfit-backend && gcloud endpoints services deploy swagger.yaml`
|
||||||
|
|
||||||
### Browser extension
|
### Browser extension
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ env: flex
|
||||||
|
|
||||||
automatic_scaling:
|
automatic_scaling:
|
||||||
min_num_instances: 1
|
min_num_instances: 1
|
||||||
max_num_instances: 4
|
max_num_instances: 2
|
||||||
|
|
||||||
endpoints_api_service:
|
endpoints_api_service:
|
||||||
name: api-dot-crabfit.appspot.com
|
name: api-dot-crabfit.appspot.com
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,4 @@ handlers:
|
||||||
redirect_http_response_code: 301
|
redirect_http_response_code: 301
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
gcloud app deploy --project=crabfit
|
gcloud app deploy --project=crabfit --version=v1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue