Created a run configuration for IDEA that is simply a composite of the two we already have for running mongoDB and holocore itself, to make it even simpler to get started

This commit is contained in:
Mads Boddum
2023-10-21 12:14:59 +02:00
parent 62182e3fd8
commit 65939f0d55
2 changed files with 9 additions and 2 deletions

7
.idea/runConfigurations/Start.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Start" type="CompoundRunConfigurationType">
<toRun name="docker-compose.yml: Compose Deployment" type="docker-deploy" />
<toRun name="Start server (development)" type="GradleRunConfiguration" />
<method v="2" />
</configuration>
</component>

View File

@@ -48,9 +48,9 @@ This will also run a web UI, which can be accessed in the browser at: http://loc
You can stop both with: `docker-compose down`.
### Running Holocore
In IntelliJ idea, run the **Start server (development)** run configuration.
In IntelliJ idea, run the **Start** run configuration.
**NOTE**: A MongoDB instance must be running for the server to start.
**NOTE**: Docker must be running in the background for MongoDB to start properly.
### Running automated tests
In IntelliJ idea, run the **Tests** run configuration.