61 lines
1.2 KiB
Markdown
Raw Normal View History

# GibCasa GameServerSupervisor
2025-02-16 15:50:11 +05:30
## Table of Contents
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Contributing](#contributing)
- [License](#license)
2025-02-03 11:21:25 +05:30
## Prerequisites
2025-02-03 11:21:25 +05:30
Python 3.10 or above
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
```
2025-02-16 15:50:11 +05:30
5. Run unit tests:
```bash
./manage.py test
```
2025-02-03 11:21:25 +05:30
5. Run migrations:
```bash
2025-02-16 15:50:11 +05:30
./manage.py migrate
2025-02-03 11:21:25 +05:30
```
6. Create admin user:
```bash
2025-02-16 15:50:11 +05:30
./manage.py createsuperuser
2025-02-03 11:21:25 +05:30
```
7. Run server:
```bash
2025-02-16 15:50:11 +05:30
./manage.py runserver
2025-02-03 11:21:25 +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
2025-02-16 15:50:11 +05:30
## 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](https://www.gnu.org/licenses/agpl-3.0.html).