Web application for interacting with Moped data.
-
Clone this repo. Start new branches from
main. -
Follow steps to start the Moped database.
-
Copy the environment variables template and fill in the missing values from the DTS password store - these secrets should not be captured in this repository. You will see the MUI X Missing license key warning without the MUI X environment variable. Mapbox tiles and NearMap aerial imagery will be unavailable without the map tokens.
cp env_template .env.local- We use Node Version Manager (
nvm) to keep ournodeversions in sync with our environments. Installnvmand then run the following from this directory to activate the currentnodeandnpmversion required for this project. If you don't want to usenvm, refer to the.nvmrcfile for thenodeversion you should install.
nvm use
nvm install-latest-npm- Install dependencies:
npm install- Start the server:
npm run dev-
Open
https://localhost:3000/moped -
To login, locate the username and pw in the DTS password store under the name "Moped Test Editor (local, staging, prod)" or "Moped Test Admin (local, staging, prod)"