Skip to content

Commit e16762c

Browse files
committed
Update README
1 parent 524ea3b commit e16762c

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,24 @@ env_variables:
6868
FILESET_STAGING_DOMAIN: '{ref}.staging.example.com'
6969
```
7070
71-
4. Create the app and deploy.
71+
4. Create a `Makefile` to help run setup commands.
7272

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)
7679
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+
```
7983

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
8289
```
8390

8491
### Deployment setup

0 commit comments

Comments
 (0)