- Follow instructions in main BMaps repository
- Install necessary packages to develop locally
- Install yarn with
brew install yarn
- Import node modules with command
yarn
oryarn install
ormake install
- Uses
package.json
for 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.lock
file as it changes.package.json
defines 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 thenpm
package manager and our Frontend usesyarn
as 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