Add Development section in README
This commit is contained in:
parent
506ad2c907
commit
1eb38239b2
3 changed files with 18 additions and 0 deletions
1
.envsample
Normal file
1
.envsample
Normal file
|
@ -0,0 +1 @@
|
||||||
|
SECRET_KEY = YOUR_SECRET_KEY_HERE
|
16
README.md
16
README.md
|
@ -3,3 +3,19 @@
|
||||||
|
|
||||||
![GitHub Workflow Status](https://github.com/wulkanowy/wulkanowy-web/workflows/Python%20application/badge.svg)
|
![GitHub Workflow Status](https://github.com/wulkanowy/wulkanowy-web/workflows/Python%20application/badge.svg)
|
||||||
[![Discord](https://img.shields.io/discord/390889354199040011.svg?color=#33CD56)](https://discord.gg/vccAQBr)
|
[![Discord](https://img.shields.io/discord/390889354199040011.svg?color=#33CD56)](https://discord.gg/vccAQBr)
|
||||||
|
|
||||||
|
# Development
|
||||||
|
## 1. Install dependencies.
|
||||||
|
```shell
|
||||||
|
pip install -r requirments.txt
|
||||||
|
```
|
||||||
|
## 2. Create database and .env
|
||||||
|
```shell
|
||||||
|
python manage.py makemigrations
|
||||||
|
python manage.py migrate
|
||||||
|
```
|
||||||
|
and modify the .envsample file.
|
||||||
|
## 3. Start the server!
|
||||||
|
```shell
|
||||||
|
python manage.py runserver
|
||||||
|
```
|
1
runserver.bat
Normal file
1
runserver.bat
Normal file
|
@ -0,0 +1 @@
|
||||||
|
python manage.py runserver
|
Loading…
Reference in a new issue