--- a/README.md Tue Jun 05 13:56:20 2018 +0200
+++ b/README.md Wed Jun 06 16:21:54 2018 +0200
@@ -20,29 +20,29 @@
Make sure Node.js is installed, and install dependencies
```
-npm install
+yarn install
```
- To recreate the bundle for production
```
-npm run build
+yarn run build
```
- To recreate the bundle and watch for changes
```
-npm run start
+yarn run start
```
- To launch the Webpack dev server for automated page reload
```
-npm run watch
+yarn run watch
```
If `JS_DEV_MODE` is set to `True`, the Webpack dev server should be started.
- To serve the annotator on a standalone page using Webpack dev server
```
-npm run standalone
+yarn run standalone
```
Go to `http://localhost:8001/webpack-dev-server/`. The page will reload by itself when the JS/CSS code is changed.
@@ -83,8 +83,8 @@
- cd into the iconolab/src_js/iconolab-bundle folder and run
- npm install
- npm run start
+ yarn install
+ yarn run start
This will serve the iconolab.js file in the iconolab/src/iconolab/static/js and update it on changes you make in the js code in src_js so you can
edit the code and debug it live in your browser