- docker
- docker-compose
- npm
- node 8
- mvn
- java 8
$ cd docker/
$ docker-compose -f docker-compose-mysql.yml up
$ cd ../spring-backend/
$ mvn spring-boot:run -Dspring-boot.run.profiles=mysql
$ cd ../spring-backend/
$ mvn spring-boot:run
- import project using pom.xml file
- run -> edit configurations
- select environment
- pass spring profile to VM options
-Dspring-boot.run.profiles=<my_profile_here>
. (If you want to use H2 create/drop database then do not specify spring profile and leave VM options input empty. If you wish to use it alongside mysql docker image then usemysql
profile. Eventually, if you want to run a full-stack application, skip this section and navigate to How to run in Docker) - apply changes and hit run
- follow instructions in 'Run server with mysql5 image'
- navigate to
frontend/
directory $ npm i && npm start
- app is available at localhost:4200
Visit localhost:8000 and login as root root
not yet implemented