Run npm run start
The frontend depends on a MongoDB server indicated by environment variable MONGODB_URI. The codebase is bootstrapped with create-next-app.
-
checkout static-render, merge other branches if necessary
git checkout static-render -
set environment variable
$env:MULTIMOCO_STATIC_BUILD="1"orexport MULTIMOCO_STATIC_BUILD=1 -
Build
pnpm next build && pnpm next export -o docs -
Add the file
.nojekyllMake sure.nojekyllis present indocs/. Gitpage needs it to disable Jekyll build. -
Push to Github
git push