Skip to content

Latest commit

 

History

History
executable file
·
34 lines (24 loc) · 1.4 KB

File metadata and controls

executable file
·
34 lines (24 loc) · 1.4 KB

Moped Editor

Web application for interacting with Moped data.

Quick start

  1. Clone this repo. Start new branches from main.

  2. Follow steps to start the Moped database.

  3. 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
  1. We use Node Version Manager (nvm) to keep our node versions in sync with our environments. Install nvm and then run the following from this directory to activate the current node and npm version required for this project. If you don't want to use nvm, refer to the .nvmrc file for the node version you should install.
nvm use
nvm install-latest-npm
  1. Install dependencies:
npm install
  1. Start the server:
npm run dev
  1. Open https://localhost:3000/moped

  2. 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)"