wasp/web
Ayaan B. Bordoloi b203c7dcb2
fix-typo (#1551)
2023-10-30 11:32:50 +01:00
..
blog Updates docs and websockets README (#1511) 2023-10-16 16:21:38 +02:00
docs fix-typo (#1551) 2023-10-30 11:32:50 +01:00
src Fixed text visibility in roadmap section (#1488) 2023-10-23 15:16:54 +02:00
static blog: added LW4 announcement post. 2023-10-13 12:39:05 +02: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 Twitter Cover Image (#1434) 2023-09-04 13:43:19 +02:00
package-lock.json Restructures docs (#1333) 2023-08-11 16:47:49 +02:00
package.json Restructures docs (#1333) 2023-08-11 16:47:49 +02:00
prettier.config.js Signup Customisation [RFC] (#1395) 2023-09-12 13:19:47 +02:00
README.md [docs] Updates READMEs with new branching and merging model (#695) 2022-08-17 11:42:32 -04:00
sidebars.js Allow customising the Vite config (#1465) 2023-10-09 15:40:33 +02:00
tailwind.config.js Created new landing page for Beta. 2022-11-26 19:01:40 +01:00
WRITING-DOCS.md Restructures docs (#1333) 2023-08-11 16:47:49 +02: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.