add_req_a2s #37
28
README.md
28
README.md
@ -21,19 +21,19 @@ Python 3.10 or above
|
||||
|
||||
1. Clone the repository:
|
||||
```bash
|
||||
git clone https://git.com.de/GibCasa/GameServerSupervisor
|
||||
git clone https://git.com.de/GibCasa/GameServerSupervisor
|
||||
```
|
||||
2. Create a virtual environment in Python:
|
||||
```bash
|
||||
python -m venv venv
|
||||
python -m venv venv
|
||||
```
|
||||
3. Activate the virtual environment:
|
||||
```bash
|
||||
source venv/bin/activate
|
||||
source venv/bin/activate
|
||||
```
|
||||
4. Install dependencies:
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
5. Run tests:
|
||||
```bash
|
||||
@ -41,15 +41,15 @@ Python 3.10 or above
|
||||
```
|
||||
6. Run migrations:
|
||||
```bash
|
||||
./manage.py migrate
|
||||
./manage.py migrate
|
||||
```
|
||||
7. Create admin user:
|
||||
```bash
|
||||
./manage.py createsuperuser
|
||||
./manage.py createsuperuser
|
||||
```
|
||||
8. Run server:
|
||||
```bash
|
||||
./manage.py runserver
|
||||
./manage.py runserver
|
||||
```
|
||||
## Installation using Podman
|
||||
|
||||
@ -61,31 +61,31 @@ Podman
|
||||
|
||||
1. Clone the repository:
|
||||
```bash
|
||||
git clone https://git.com.de/GibCasa/GameServerSupervisor
|
||||
git clone https://git.com.de/GibCasa/GameServerSupervisor
|
||||
```
|
||||
2. Build the image:
|
||||
```bash
|
||||
podman build . -t supervisor-image
|
||||
podman build . -t supervisor-image
|
||||
```
|
||||
3. Run a container in an interactive shell:
|
||||
```bash
|
||||
podman run -it --network=host localhost/supervisor-image sh
|
||||
podman run -it --network=host localhost/supervisor-image sh
|
||||
```
|
||||
4. Run tests:
|
||||
```bash
|
||||
./manage.py test
|
||||
./manage.py test
|
||||
```
|
||||
5. Run migrations:
|
||||
```bash
|
||||
./manage.py migrate
|
||||
./manage.py migrate
|
||||
```
|
||||
6. Create admin user:
|
||||
```bash
|
||||
./manage.py createsuperuser
|
||||
./manage.py createsuperuser
|
||||
```
|
||||
7. Run server:
|
||||
```bash
|
||||
./manage.py runserver
|
||||
./manage.py runserver
|
||||
```
|
||||
-------------
|
||||
|
||||
|
||||
@ -5,6 +5,7 @@ Django==5.1.5
|
||||
idna==3.10
|
||||
pillow==11.2.1
|
||||
podman==5.2.0
|
||||
python-a2s==1.4.1
|
||||
requests==2.32.3
|
||||
sqlparse==0.5.3
|
||||
urllib3==2.3.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user