Compare commits
No commits in common. "d39e559d24c62bafa6dc70770ab63ada5f22aa8b" and "0f042f78eaadd0c275c028569a078db06ccbd4e4" have entirely different histories.
d39e559d24
...
0f042f78ea
43
README.md
43
README.md
@ -1,40 +1,15 @@
|
|||||||
# GibCasa GameServerSupervisor
|
# GibCasa GameServerSupervisor
|
||||||
|
|
||||||
## Prerequisites
|
# Setup
|
||||||
|
|
||||||
Python 3.10 or above
|
|
||||||
|
|
||||||
## Installation
|
* clone the repo
|
||||||
|
* create venv `python3 -m venv venv`
|
||||||
1. Clone the repository:
|
* activate `source venv/bin/activate`
|
||||||
```bash
|
* `pip install -r requirements.txt`
|
||||||
git clone https://git.com.de/GibCasa/GameServerSupervisor
|
* will need docker running
|
||||||
```
|
* `python manage.py migrate`
|
||||||
2. Create a virtual environment in Python:
|
* Create admin user: `python manage.py createsuperuser`
|
||||||
```bash
|
* `python manage.py runserver`
|
||||||
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
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user