Git Python: 3.10, 3.11, 3.12, 3.13
Clone repository:
git clone https://github.com/TimeTGame/NoobRPG.git
cd NoobRPGAt this point, you can install dependencies for prod, test, and dev modes. Example for prod mode:
python3 -m venv .venv
source venv/bin/activate
python3 -m pip install -r ./requirements/prod.txtTo run in other modes, use dev.txt and test.txt
At this point, you can install dependencies for prod, test, and dev modes. Example for prod mode:
python -m venv .venv
# Windows (PowerShell)
.\venv\Scripts\Activate.ps1
# Windows (cmd.exe)
.\venv\Scripts\activate.bat
python -m pip install -r ./requirements/prod.txtTo run in other modes, use dev.txt and test.txt
Go to the project directory:
cd NoobRPGCopy the template.env file and rename it to .env:
cp template.env .envStarting the server:
# Windows
python manage.py migrate
python manage.py runserver
# Mac и linux
python3 manage.py migrate
python3 manage.py runserverThe test server is hosted at the link http://127.0.0.1:8000/.
Settings are made through the NoobRPG/.env file.