- Follow instructions in main BMaps repository
- Install necessary packages to develop locally
- Install yarn with
brew install yarn - Import node modules with command
yarnoryarn installormake install- Uses
package.jsonfor installing packages - Install specific packages as needed with
yarn add <package> - Install Angular CLI with
yarn global add @angular/cli
- Uses
- Notes:
- Commit/keep
yarn.lockfile as it changes.package.jsondefines the intended versions of dependencies while the lock files keep track of the most recently used versions. - You shouldn't have a
package-lock.json, because this corresponds to thenpmpackage manager and our Frontend usesyarnas its package manager.
- Commit/keep
- Install yarn with
- Run a dev server with
make dev- Navigate to http://localhost:4200/ or use
make open - The app will automatically reload if you change any of the source files.
- Navigate to http://localhost:4200/ or use