Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 635 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 635 Bytes

Multimoco Web frontend

Starting Server

Run npm run start

Prerequisites

The frontend depends on a MongoDB server indicated by environment variable MONGODB_URI. The codebase is bootstrapped with create-next-app.

Build & Export

  • checkout static-render, merge other branches if necessary git checkout static-render

  • set environment variable $env:MULTIMOCO_STATIC_BUILD="1" or export MULTIMOCO_STATIC_BUILD=1

  • Build pnpm next build && pnpm next export -o docs

  • Add the file .nojekyll Make sure .nojekyll is present in docs/. Gitpage needs it to disable Jekyll build.

  • Push to Github git push