Install npm dependencies:
npm install
Build the front-end:
sbt frontend/fastLinkJS
Start the webpack dev server:
npm start
Start sbt:
sbt
Within sbt start the back-end app:
sbt> backend/reStart
Open http://localhost:6080/ in the browser.
To make sbt re-compile the front-end on code changes:
sbt
sbt> ~frontend/fastLinkJS
To re-compile and restart the back-end on code changes:
sbt> ~backend/reStart
Build an optimized js for the front-end:
sbt frontend/fullLinkJS
Run the npm:
npm run build
The front end assets will be generated into the dist
folder.