Skip to content

prdes/GameServerSupervisor

Repository files navigation

GibCasa GameServerSupervisor

Table of Contents

Installation using venv

Prerequisites

Python 3.10 or above

Installation

  1. Clone the repository:
  git clone https://git.com.de/GibCasa/GameServerSupervisor
  1. Create a virtual environment in Python:
  python -m venv venv
  1. Activate the virtual environment:
  source venv/bin/activate
  1. Install dependencies:
  pip install -r requirements.txt
  1. Run tests:
  ./manage.py test
  1. Run migrations:
  ./manage.py migrate
  1. Create admin user:
  ./manage.py createsuperuser
  1. Run server:
  ./manage.py runserver

Installation using Podman

Prerequisites

Podman

Installation

  1. Clone the repository:
  git clone https://git.com.de/GibCasa/GameServerSupervisor
  1. Build the image:
  podman build . -t supervisor-image
  1. Run a container in an interactive shell:
  podman run -it --network=host localhost/supervisor-image sh
  1. Run tests:
  ./manage.py test
  1. Run migrations:
  ./manage.py migrate
  1. Create admin user:
  ./manage.py createsuperuser
  1. Run server:
  ./manage.py runserver

To 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.

Usage

Contributing

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-name.
  3. Make your changes.
  4. Push your branch: git push origin feature-name.
  5. Create a pull request.

License

This project is licensed under the AGPL.

About

Game Server Manager using Django and podman.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published