Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This place contains some tips on the usage of the core, providing instructions for common tasks.

Install a new frontend dependency


  1. npmEnter the omscore container (`docker-compose run omscore bash`)
  2. `npm install --save <your dependency>dependency>`
  3. open gulpfile.js, add the .css and .js files brought by that dependency
  4. gulp`gulp`
  5. If it's an angular module, add it to resouces`resouces/views/template.blade.php php` under var omsApp = angular...

...

  1. .

...

  1. sudo apt-get install nodejs npm (or if you don't use ubuntu find out how to install nodejs and npm)
  2. sudo npm install  -g gulp
  3. inside the project folder:
  4. npm install
  5. gulp