wasp/web
2022-11-21 17:28:54 +01:00
..
blog Adapt example apps to project struct change (#809) 2022-11-11 18:58:29 +01:00
docs Fix typo in docs (#813) 2022-11-21 17:28:54 +01:00
src Update docs to account for struct changes (#808) 2022-11-11 18:36:50 +01:00
static Merge branch 'release' 2022-09-29 12:00:15 +02:00
.gitignore Moved web from wasp-lang/web repo to folder in this repo. 2021-07-23 19:39:15 +02: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 Fix invalid contact link on our website (#791) 2022-10-28 18:29:06 +02:00
package-lock.json Add google analytics 2022-06-29 17:31:28 +03:00
package.json Add google analytics 2022-06-29 17:31:28 +03:00
README.md [docs] Updates READMEs with new branching and merging model (#695) 2022-08-17 11:42:32 -04:00
sidebars.js Adds opt-in support for Tailwind (#777) 2022-11-04 09:39:13 -04: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.