2.0 KiB
2.0 KiB
GibCasa GameServerSupervisor
Table of Contents
Installation using venv
Prerequisites
Python 3.10 or above
Installation
- 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 runserver
Installation using Podman
Prerequisites
Podman
Installation
- 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 runserver
Usage
- Visit http://localhost:8000 for /public and http://localhost:8000/admin/ to login via the superuser credentials
Contributing
- 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.
License
This project is licensed under the AGPL.