wasp/web
2022-06-07 14:18:18 +03:00
..
blog Merge branch 'add_gitpod_post' of github.com:wasp-lang/wasp into add_gitpod_post 2022-06-07 14:18:18 +03:00
docs Support for the client setup function (#595) 2022-05-20 14:49:26 +02:00
src Renamed all references to master branch into main branch. 2022-02-08 15:34:32 +01:00
static Add Gitpod hackathon guide 2022-06-01 16:58:21 +03: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 [Blog] Restructure the blog site to improve accessibility (#501) 2022-03-17 11:09:48 +01:00
package-lock.json We cannot build unless we use the right version of npm 2022-01-31 14:29:29 +01:00
package.json We cannot build unless we use the right version of npm 2022-01-31 14:29:29 +01:00
README.md Made page robust to multiple trailing slashes + some small fixes. 2021-10-04 15:50:52 +02:00
sidebars.js Replace Wasp with AppSpec and Parser with Analyzer. (#423) 2022-01-20 11:45:14 +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:

$ 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.