wasp/web
Filip Sodić 8a3fba8831
Require LTS version of Node for Wasp (#504)
* Require LTS node and npm on client and server

* Update node and npm versions in the docs

* Add npmrc and nvmrc to WebAppGenerator

* Change function name in test

* Add newline to nvmrc

* Add newline to Common.hs

* Remove extra empty line in nvmrc

* Remove extra empty line in Common.hs

* Update end to end tests for node LTS

* Add newline at the end of server/nvmrc

* Ensure Node version 16 in CI

* Fix broken ci file

* Change how Wasp specifies required versions

* Fix formatting

* Use type alias for semantic versions

* Remove incorrect comment on Prisma LTS

* Update e2e checksums

* Fix typo in gitignore

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Sort e2e checksums

* Extract semantic version to its module

* Fix formatting

* Fix formatting again

* Add comment explaining nvmrc

* Add tests and change semver naming

* Add natural numbers and formatting to semver

* Add newline at the end of semver module

* Add missing space to node mismatch message

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-03-21 15:00:19 +01:00
..
blog [Blog] Restructure the blog site to improve accessibility (#501) 2022-03-17 11:09:48 +01:00
docs Require LTS version of Node for Wasp (#504) 2022-03-21 15:00:19 +01:00
src Renamed all references to master branch into main branch. 2022-02-08 15:34:32 +01:00
static blog: added martijn's intro post. (#447) 2022-02-08 09:48:11 +01: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.