Update Setting up IntelliJ authored by Derek Williams's avatar Derek Williams
...@@ -67,19 +67,19 @@ The Working Directory fields that are listed will be added after the "FreshmanRP ...@@ -67,19 +67,19 @@ The Working Directory fields that are listed will be added after the "FreshmanRP
| Name | Main Class | Module | Program Arguments | Working Directory | Environment Variables | | Name | Main Class | Module | Program Arguments | Working Directory | Environment Variables |
|---|---|---|---|---|---| |---|---|---|---|---|---|
| Login Server | edu.ship.engr.shipsim.LoginServer | `-cp Freshman_RPG.LoginServer.main` | --localhost | FreshmanRPG/LoginServer | INTELLIJ_MODE=true | | Login Server | edu.ship.engr.shipsim.LoginServer | `LoginServer.main` | --localhost | FreshmanRPG/LoginServer | INTELLIJ_MODE=true |
| Desktop Client | edu.ship.engr.shipsim.DesktopClient | `-cp Freshman_RPG.GameClient-desktop.main` | --localhost | FreshmanRPG/GameClient-desktop | INTELLIJ_MODE=true | | Desktop Client | edu.ship.engr.shipsim.DesktopClient | `GameClient-desktop.main` | --localhost | FreshmanRPG/GameClient-desktop | INTELLIJ_MODE=true |
| Server Rec Center | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1873" --map="recCenter.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server Rec Center | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1873" --map="recCenter.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Library | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1874" --map="library.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server Library | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1874" --map="library.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Sorting Room | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1875" --map="sortingRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server Sorting Room | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1875" --map="sortingRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Wellington Room | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1876" --map="wellingtonRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server Wellington Room | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1876" --map="wellingtonRoom.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server MCT Room | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1877" --map="mct1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server MCT Room | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1877" --map="mct1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Ducktopia | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1879" --map="Ducktopia.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server Ducktopia | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1879" --map="Ducktopia.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Cub | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1880" --map="cub.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server Cub | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1880" --map="cub.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Mowrey | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1881" --map="mowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server Mowrey | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1881" --map="mowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Outside Mowrey | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1882" --map="outsideOfMowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server Outside Mowrey | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1882" --map="outsideOfMowrey.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server Quad | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1883" --map="quad.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server Quad | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1883" --map="quad.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
| Server DHC1 | edu.ship.engr.shipsim.Server | `-cp Freshman_RPG.GameServer.main` | --port="1884" --map="dhc1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true | | Server DHC1 | edu.ship.engr.shipsim.Server | `GameServer.main` | --port="1884" --map="dhc1.tmx" | FreshmanRPG/GameServer | INTELLIJ_MODE=true |
## Running in production for testing ## Running in production for testing
To test using the production database, change the --localhost arguments for all run configurations to --production **except** GameClient-desktop, which should still use the --localhost argument. Since you are running the servers on your local machine, the client needs to know that they are being run locally. To test using the production database, change the --localhost arguments for all run configurations to --production **except** GameClient-desktop, which should still use the --localhost argument. Since you are running the servers on your local machine, the client needs to know that they are being run locally.
... ...
......