Python 3.10 or above
- Clone the repository:
git clone https://git.com.de/GibCasa/GameServerSupervisor- Create a virtual environment in Python:
python -m venv venv- Activate the virtual environment:
source venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Run tests:
./manage.py test- Run migrations:
./manage.py migrate- Create admin user:
./manage.py createsuperuser- Run server:
./manage.py runserverPodman
- Clone the repository:
git clone https://git.com.de/GibCasa/GameServerSupervisor- Build the image:
podman build . -t supervisor-image- Run a container in an interactive shell:
podman run -it --network=host localhost/supervisor-image sh- Run tests:
./manage.py test- Run migrations:
./manage.py migrate- Create admin user:
./manage.py createsuperuser- Run server:
./manage.py runserverTo live sync host directory with container folder, in Step 3:
podman run --network=host -itv /host/src/path:/usr/src/GameServerSupervisor supervisor-image sh/host/src/path is the absolute path to the repository in the host machine.
- Visit http://localhost:8000 for /public and http://localhost:8000/admin/ to login via the superuser credentials
- Fork the repository.
- Create a new branch:
git checkout -b feature-name. - Make your changes.
- Push your branch:
git push origin feature-name. - Create a pull request.
This project is licensed under the AGPL.