Update README.md

Additional instructions have been added
This commit is contained in:
Zaptyp 2021-01-22 07:32:05 +01:00 committed by GitHub
parent cf7ef10e56
commit b50146c384
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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