Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Latest commit

 

History

History
48 lines (31 loc) · 912 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 912 Bytes

SurviveJS - Website v2

This is the source of https://survivejs.com/.

Development

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.

Deployment

To generate the build, run:

deno task build

Known caveats

  • 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.