- Update NodeJS to LTS
- Clone MAM repository and install dependencies via npm or yarn
git clone https://github.com/hyoo-ru/mam.git ./mam
cd ./mam
npm install
- Clone this repository to
./mam/aspirity
git clone https://github.com/aspirity-ru/mam_aspirity.git ./aspirity
-
Build the project you want
npm run start aspirity/<project-name>
-
Run dev server
npm run start
-
Open url
http://127.0.0.1:9080
-
Disable cache in devtools
-
Select project in browser
- Use MAM directory as root of your project in editor
- Install VScode intellisense plugin for *.view.tree files
- Install plugin for *.tree files
- Install .editorconfig plugin
- Create
./mam/.gitmodules
file with similar content.
[submodule "aspirity_restmock"]
path = aspirity/restmock
url = git@github.com:aspirity-ru/aspirity_restmock.git
- Edit name, path and link as needed. The file can contain many submodules