wasp/web
Matija Stepanic a9aa4ff446
Removed dollar sign from start of any CLI examples in docs so they can be directly copied.
* Improved docs to avoid issue with missing bash command on getting-started page

* Removed dollar sign from start of any CLI examples in docs.

Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2021-10-22 11:49:21 +02:00
..
blog Added blog post about 'forall' in Haskell. 2021-09-01 16:18:32 +02:00
docs Removed dollar sign from start of any CLI examples in docs so they can be directly copied. 2021-10-22 11:49:21 +02:00
src Removed install.sh script and updated links to download installer script. 2021-10-12 12:41:19 +02:00
static Made page robust to multiple trailing slashes + some small fixes. 2021-10-04 15:50:52 +02:00
.gitignore Moved web from wasp-lang/web repo to folder in this repo. 2021-07-23 19:39:15 +02: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 Made page robust to multiple trailing slashes + some small fixes. 2021-10-04 15:50:52 +02:00
package-lock.json Updated docusaurus version. 2021-10-04 11:43:23 +02:00
package.json Updated docusaurus version. 2021-10-04 11:43:23 +02:00
README.md Made page robust to multiple trailing slashes + some small fixes. 2021-10-04 15:50:52 +02:00
sidebars.js Moved web from wasp-lang/web repo to folder in this repo. 2021-07-23 19:39:15 +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:

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