-
Notifications
You must be signed in to change notification settings - Fork 0
Run in IDE
If you want to change something in the code and need to test it in your IDE, this page will guide you through the steps to get the application running.
- Install docker on your machine and download the mysql:latest image.
- Start the docker engine.
- Edit your IntelliJ run-configurations and make sure, that the
Docker Imageconfiguration has the correct docker server selected. - Run the
Docker Imageconfiguration in IntelliJ
This only needs to be done once before the first launch of the application. If you reset your database, you need to repeat this step.
- Set up a database in IntelliJ, that points to your docker-database
- Execute
src/main/resources/schema.sql
Launch the Main Application run-configuration in IntelliJ. This step requires a running database, so make sure, that yours is running
At the first launch, the database will be completely empty. If you want to add a default-language, you can execute src/main/resources/data.sql. This will create one default-language, that will be accessible by every user, with the owner set to the user fi0x.
With the default configuration, the web-ui is reachable on localhost:2345. If you don't change the config, an admin-user fi0x with the password 123 will be created by the launch of the application. You can use it to log into the web-ui.