File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -68,17 +68,24 @@ env_variables:
68
68
FILESET_STAGING_DOMAIN : ' {ref}.staging.example.com'
69
69
` ` `
70
70
71
- 4. Create the app and deploy .
71
+ 4. Create a ` Makefile` to help run setup commands .
72
72
73
- ` ` ` bash
74
- # Create an App Engine app if one doesn't exist yet.
75
- gcloud app create --project=<AppId>
73
+ ` ` ` make
74
+ project := <AppId> # Replace with your App ID.
75
+
76
+ setup:
77
+ gcloud app create --project=$(project)
78
+ gcloud services enable datastore.googleapis.com --project=$(project)
76
79
77
- # Enable the Cloud Datastore API.
78
- gcloud services enable datastore.googleapis.com --project=<AppId>
80
+ deploy:
81
+ gcloud app deploy --project=$(project) app.yaml
82
+ ` ` `
79
83
80
- # Deploy the app.
81
- gcloud app deploy --project=<AppId> app.yaml
84
+ 5. Deploy the app.
85
+
86
+ ` ` ` bash
87
+ make setup
88
+ make deploy
82
89
` ` `
83
90
84
91
# ## Deployment setup
You can’t perform that action at this time.
0 commit comments