Skip to content

Server Management

To manage the server, run the following command:

bash
./runner.sh

After running the script, a menu will appear with several options:

1. Start Containers

This option starts all server containers in the background, bringing the server online.

2. Stop Containers

This option stops all running containers, halting the server’s operation.

3. Restart Containers

This option stops the containers and then restarts them. It’s useful for applying configuration changes.

4. Check Container Status

Displays the current status of the containers (whether they are running or stopped).

5. View Logs

Shows the logs of the running containers. Logs are helpful for analyzing the server’s performance and troubleshooting errors.

6. Rebuild the Project

Stops the containers, rebuilds the project, and restarts everything. This is used when changes have been made to the code.

Log Storage

All server logs are stored in the /logs directory on the server. You can access these logs for server performance analysis or to identify and resolve issues.