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-v2Then, setup a .config.json file as follows:
{
"getImagesEndpoint": "TODO",
"getImagesToken": "TODO"
}Then, bootstrap the project:
deno task bootstrapFinally, start the development server:
deno task startNow 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/imgand then the reference is/assets/img/<name>.svg.