This is the source of https://survivejs.com/.
Make sure you have Deno installed before proceeding.
First, clone this repository:
git clone https://github.com/survivejs/website-v2
Then, setup a .config.json
file as follows:
{
"getImagesEndpoint": "TODO",
"getImagesToken": "TODO"
}
Then, bootstrap the project:
deno task bootstrap
Finally, start the development server:
deno task start
Now you can go to http://localhost:3000 to see the site.
To generate the build, run:
deno task build
- It seems Cloudflare Images doesn't support hosting SVGs yet so they'll have to be served through this repository. They are stored in
assets/img
and then the reference is/assets/img/<name>.svg
.