Go to docker and install docker desktop (will install docker compose with it).
The LobbyService submodule must be initialized.
git submodule init
git submodule updateStart with a terminal in the root of the folder (likely "f2022-hexanome-04")
cd setup/{setup name}
docker compose up --build- The server needs to successfully build for this to work.
- The client needs to successfully build for this to work.
- Used for running the whole game all together.
- Used for testing/debugging the client & server.
- The server needs to successfully build for this to work.
- Used for testing/debugging the client.
- The client needs to successfully build for this to work.
- Used for testing/debugging the server.
You will need to install the dependencies to build/debug the client.
From the root directory:
cd client
npm install --save-devThen start the development server for live updates:
npm run devNow, you may access the live debug client here.
Open the server folder using Intellij, it should set up everything for you.
A web server will have been created for the client, which you can access with this link: http://localhost:36104.
If you happen to change branches, update the code for the server and/or client, you must rebuild the docker images.
An easy way to do that is to add --build to the docker compose command.
docker compose up --build