Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
voron434 authored Jul 5, 2019
1 parent 5f2da63 commit 9edb2e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,9 @@
- Скачайте код
- Установите зависимости командой `pip install -r requirements.txt`
- Положите базу данных рядом с `manage.py`
- Создайте файл `.env` рядом с `manage.py`. Определите в нём переменные:
- `SECRET_KEY`
- `DEBUG`
- `DATABASE_NAME` — путь до базы данных, например: `schoolbase.sqlite3`
- Пропишите путь до файла с базой в `/project/settings.py` вместо `PLACE_NAME_HERE`.
- Запустите сервер командой `python3 manage.py runserver`

0 comments on commit 9edb2e7

Please sign in to comment.