survivejs / website-v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:TypeScript 100.0%