Merge pull request #13 from wulkanowy/Zaptyp-patch-1-1
Update README.md
This commit is contained in:
commit
3b95099d31
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
@ -9,12 +9,18 @@
|
|||
```shell
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
## 2. Make migrations and .env
|
||||
## 2. Create .env and make migrations
|
||||
In the .env file put the code:
|
||||
```shell
|
||||
SECRET_KEY = writeanythinghere
|
||||
```
|
||||
After saving the files, we migrate with these commands:
|
||||
```shell
|
||||
python manage.py makemigrations
|
||||
python manage.py migrate
|
||||
```
|
||||
and modify the .envsample file.
|
||||
and modify the .envsample file as you would the .env file
|
||||
THE SECRET KEY MUST BE THE SAME
|
||||
## 3. Start the server!
|
||||
```shell
|
||||
python manage.py runserver
|
||||
|
|
Loading…
Reference in a new issue