2025-01-21 03:21:05 +05:30
|
|
|
# GibCasa GameServerSupervisor
|
|
|
|
|
2025-02-03 11:21:25 +05:30
|
|
|
## Prerequisites
|
2025-01-21 03:21:05 +05:30
|
|
|
|
2025-02-03 11:21:25 +05:30
|
|
|
Python 3.10 or above
|
2025-01-21 03:21:05 +05:30
|
|
|
|
2025-02-03 11:21:25 +05:30
|
|
|
## Installation
|
|
|
|
|
|
|
|
1. Clone the repository:
|
|
|
|
```bash
|
|
|
|
git clone https://git.com.de/GibCasa/GameServerSupervisor
|
|
|
|
```
|
|
|
|
2. Create a virtual environment in Python:
|
|
|
|
```bash
|
2025-02-03 12:13:31 +05:30
|
|
|
python -m venv venv
|
2025-02-03 11:21:25 +05:30
|
|
|
```
|
|
|
|
3. Activate the virtual environment:
|
|
|
|
```bash
|
|
|
|
source venv/bin/activate
|
|
|
|
```
|
|
|
|
4. Install dependencies:
|
|
|
|
```bash
|
|
|
|
pip install -r requirements.txt
|
|
|
|
```
|
|
|
|
5. Run migrations:
|
|
|
|
```bash
|
|
|
|
python manage.py migrate
|
|
|
|
```
|
|
|
|
6. Create admin user:
|
|
|
|
```bash
|
|
|
|
python manage.py createsuperuser
|
|
|
|
```
|
|
|
|
7. Run server:
|
|
|
|
```bash
|
|
|
|
python manage.py runserver
|
|
|
|
```
|
2025-01-21 03:21:05 +05:30
|
|
|
* visit http://localhost:8000 for /public and
|
2025-02-03 11:21:25 +05:30
|
|
|
http://localhost:8000/admin/ to login via the superuser credentials
|
|
|
|
* will need docker running
|
|
|
|
|