Installation - MotivationalModelling/mm-local-editor GitHub Wiki
Installation
This page covers local setup for developing and testing AMMBER. For the end-user guide, see Getting Started.
Prerequisites
- Git
- Node.js 20.20.0 or later
- npm
NVM is optional, but useful for switching between Node.js versions.
Install the project
Clone the repository and cd into the project directory:
git clone https://github.com/MotivationalModelling/mm-local-editor.git
cd mm-local-editor
Install required packages and libraries:
npm install
Run locally
Start the Vite development server:
npm run dev
Open http://localhost:5173/mm-local-editor/ in a browser.
Create a local production build
npm run build
npm run preview
The build output is written to dist.