dbetka / rehapp

0 stars 0 forks source link

rehapp

Installation

Requirements

How to prepare Intellij IDE (Webstorm / Pycharm) for front-end development

  1. You have to get into Settings/Editor/Code Style/HTML, find Do not indent children of option in tab Other and add script tag there.
  2. Go to Settings/Plugins tab Marketplace and install Multirun.
  3. Restart IDE
  4. Find top tab called Run and find there Edit Configurations. Click on + and select Multirun. Set name on Run project and add scripts (run serve and run sass-watcher) below into Choose configurations to run. Remember to set Allow parallel run and Start configurations one by one options on checked.

Development

Devel environment

  1. Go to directory: cd client
  2. Install packages: npm i
  3. Run the front-end builder: npm run serve
  4. App is ready on https://localhost:8080/

Production environment:

  1. Install packages: npm i
  2. Build front-end package: npm run build
  3. App is ready!

Version release

To do list: