Update README.md
Additional instructions have been added
This commit is contained in:
parent
cf7ef10e56
commit
b50146c384
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