Minimal project configuration featuring a Scala play blackend with Slick ORM and an Angular front end.
sbt run
Builds the front end and run the backend. If anode_modules
folder isn't found, it will also runnpm install
before hand. Note also, thatsbt run
will run the angular compiler in watch mode. This is intended for development mode.sbt clean
Has a hook that will clean up the code generated by the front end compilation as well as remove thenode_modules
folder.sbt dist
This is for building for production mode. It builds the UI for production mode first and will fail to build if an error is raised during the UI build.
Thank you for checking out this repo, I hope it's helpful to you. If you've any feedback or requests, please don't hesitate to open up an issue or make a pull request.