wasp/web
2023-03-14 14:04:51 -04:00
..
blog Merge branch 'release' into v0.9.0 2023-03-08 23:11:35 +01:00
docs Adds api for defining custom HTTP routes (#1043) 2023-03-14 14:04:51 -04:00
src Vite related docs and changelog update (#1037) 2023-03-02 16:31:53 +01:00
static [BLOG] ten hard truths for junior devs (#1041) 2023-03-08 06:43:09 +01:00
.gitignore Created new landing page for Beta. 2022-11-26 19:01:40 +01:00
.npmrc We cannot build unless we use the right version of npm 2022-01-31 14:29:29 +01:00
babel.config.js Moved web from wasp-lang/web repo to folder in this repo. 2021-07-23 19:39:15 +02:00
docusaurus.config.js Blog: beta launch review 2023-02-02 13:56:35 +01:00
package-lock.json Add docs for TypeScript support in Wasp (#1029) 2023-02-27 11:19:09 +01:00
package.json Blog: beta launch review 2023-02-02 13:56:35 +01:00
README.md [docs] Updates READMEs with new branching and merging model (#695) 2022-08-17 11:42:32 -04:00
sidebars.js Add docs for TypeScript support in Wasp (#1029) 2023-02-27 11:19:09 +01:00
tailwind.config.js Created new landing page for Beta. 2022-11-26 19:01:40 +01:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ npm install

Local Development

$ npm start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

$ npm build

This command generates static content into the build directory and can be served using any static contents hosting service.

To run this version of code and check that it works correctly, run npm run serve.

Deployment

We are deploying to GitHub pages, and that can easily be done with the following command.

First, ensure you are on the release branch. Next, run:

$ GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy

This command will build the website and push it to the gh-pages branch.