'sudo apt install docker.io docker-compose'
Run sudo ./build.sh to :
- automatically build backend & frontend
- start via Docker compose
- start streaming server logs to console
You can only build the backend/frontend by using sudo ./build.sh backend or sudo ./build.sh frontend respectively
Connect to application via localhost:8080
Remote debugging is available on port 8000. Use the Remote JVM Debug run configuration to connect to it.
To wipe the DB, run docker-compose down before running ./build.sh
-
Start up a Postgres database using Docker:
docker run --name postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=gitlabanalyzer -p 5432:5432 -d postgres -
Open IntelliJ IDEA Ultimate (free for students)
-
Run
ln -s ../../../../frontend/build ./backend/src/main/resources/publicto let Spring pick up on frontend files when you build them -
Run
npm run buildin thefrontendfolder. -
Go to the Application class, and click on the play button.
-
Application is now running at
localhost:8080