Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

Commit afa4a63

Browse files
committed
Update README with deployment instructions.
1 parent 3df0394 commit afa4a63

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ server with:
4545
$ nodemon server/app.js
4646
```
4747

48+
Alternatively, you can just run `npm monitor`. The application shell should now be available on port `8080`.
49+
50+
### Deployment
51+
52+
We've deployed the project to Node.js on [Google Cloud](https://cloud.google.com/nodejs/). To do the same, follow the steps in their Node.js deployment [getting started](https://cloud.google.com/nodejs/getting-started/hello-world) guide and after running `npm install` run `gcloud preview app deploy app.yaml --promote`. If everything works correctly, you should have the project deployed to your custom AppSpot endpoint.
53+
4854
## Why?
4955

5056
[Service Workers](http://www.html5rocks.com/en/tutorials/service-worker/introduction/) are fantastic for offline caching but they also offer significant performance wins in the form of instant loading for repeat visits. This is possible with just a few changes to our overall application’s UI architecture.

0 commit comments

Comments
 (0)