Skip to content

Commit

Permalink
chore: add DEVELOP.md and .nvmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Feb 1, 2024
1 parent d1e1d83 commit 9c2b3da
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.21.3
25 changes: 25 additions & 0 deletions DEVELOP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Development

## Setup environment

```sh
nvm use
```

```sh
cd src/iotMapManager
npm i
cd -
npm --prefix src/iotMapManager run watch
```

Now open a new terminal and run:

```sh
npm i
npm run start
```

To check that everything is working, open a browser and go to http://localhost:4200.

From this point on, you can edit the code of the library and the page will automatically reload with the changes (e.g. change `#FFDD00` to `#FF0000` and the warning markers will become red instead of yellow).

0 comments on commit 9c2b3da

Please sign in to comment.