Skip to content

survivejs/website-v3

Repository files navigation

SurviveJS - Site

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

Development

First, clone this repository:

git clone https://github.com/survivejs/website-v3

Set up a .dev.vars file:

GET_IMAGES_ENDPOINT=TODO
GET_IMAGES_TOKEN=TODO
IMAGES_API_URL=TODO
IMAGES_ROOT=TODO

Bootstrap the project:

deno task bootstrap

Start the development server:

deno task start

Now you can go to http://localhost:3000.

Building

Build using the following command:

deno task build

Deploy ./build.

PageSpeed debugging

Run local Lighthouse audits for mobile and desktop:

npm run lighthouse:local

The command builds the site, serves ./build locally, and writes HTML/JSON reports to reports/lighthouse/.

If Chromium is missing, install the pinned browser first:

npm run playwright:install

For local Agent CI and more Lighthouse options, see docs/development.md.

License

The site content is available under CC BY-NC-ND license. So, as long as there's a proper attribution, you can reuse the content. Ideally, you would contribute your improvements back, but that's not necessary.

The site source is available under MIT license.

About

survivejs.com website source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors