Compare commits

...

2 Commits

Author SHA1 Message Date
4ca59d83a7
substitute python3 for python 2025-02-06 09:53:19 +05:30
29c30f2111
add prerequisites 2025-02-06 09:52:33 +05:30

View File

@ -1,15 +1,40 @@
# GibCasa GameServerSupervisor # GibCasa GameServerSupervisor
# Setup ## Prerequisites
Python 3.10 or above
* clone the repo ## Installation
* create venv `python3 -m venv venv`
* activate `source venv/bin/activate` 1. Clone the repository:
* `pip install -r requirements.txt` ```bash
* will need docker running git clone https://git.com.de/GibCasa/GameServerSupervisor
* `python manage.py migrate` ```
* Create admin user: `python manage.py createsuperuser` 2. Create a virtual environment in Python:
* `python manage.py runserver` ```bash
python -m venv venv
```
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
```
* visit http://localhost:8000 for /public and * visit http://localhost:8000 for /public and
http://localhost:8000/admin/ to login via the superuser credentials http://localhost:8000/admin/ to login via the superuser credentials
* will need docker running