Add Development section in README

This commit is contained in:
Marcin Kowalicki 2021-01-08 18:38:17 +01:00
parent 506ad2c907
commit 1eb38239b2
3 changed files with 18 additions and 0 deletions

1
.envsample Normal file
View file

@ -0,0 +1 @@
SECRET_KEY = YOUR_SECRET_KEY_HERE

View file

@ -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
View file

@ -0,0 +1 @@
python manage.py runserver