mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-25 10:03:07 +03:00
8a3fba8831
* 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> |
||
---|---|---|
.. | ||
blog | ||
docs | ||
src | ||
static | ||
.gitignore | ||
.npmrc | ||
babel.config.js | ||
docusaurus.config.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
sidebars.js |
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.