To set up IntelliJ for the server, you'll need Docker installed. There is a guide on how to do that [here](Installing-Docker).
Once you've done that, open the "FreshmanRPG" project in IntelliJ. You should see projects inside such as GameServer and LoginServer.
To successfully run the server, you'll actually need to set up multiple run configurations, as there are multiple servers that communicate with each other. To set these up, click [this link](Setting-up-IntelliJ) and follow the instructions under the "Running locally" section.
Once you've done that, make sure your Docker container is running. This container manages your database, and the servers need to access it in order to run successfully.
There is one thing left to do. In IntelliJ, click on the run configurations dropdown on the top right (but DON'T click "Edit Configurations" this time. Near the bottom, look for "Rebuild Database". This is a Gradle task that will set up the database in your Docker container with default data.
You should now be able to run the servers. Which servers you run depends on what you need to do.
If you're testing the companion app:
* Login Server
* Restful Server
If you're testing the desktop client:
* Login Server
* Choose the servers associated with the maps that you need to use. For instance, if you need to use the sorting room (where new players spawn by default) and the campus (outside areas), you'll need to run Sorting Room and Quad.