Based on Russel's awesome svelte-hmr-sapper repo
To get running locally:
npm install // install the npm dependencies
npm run dev // start the server!
Modify content in src
and static
.
To build and deploy to google app engine, you need to...
- Get access to the Google Cloud project
- download the SDK so you can use the
gcloud
command in your terminal. Instructions here. - run
gcloud auth login
to log into your account cd
into thegoogle-app-engine/
folder- run
npm install
oryarn install
to install the dependencies
- run
npm run build-static
to populate thegoogle-app-engine/export
folder with our static files cd
into thegoogle-app-engine/
folder- run
gcloud app deploy
to update the site