From 8e6101fe96077176f3c2aa54df50e8c442cdb71a Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 6 Sep 2023 14:57:01 +0300 Subject: [PATCH] Update quickstart --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d895f130..403be7ed 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ This project was generated with [`wemake-django-template`](https://github.com/we ## What does this app do? -This app surves one main purpose: show pictures and save your favoirutes ones. +This app serves just one main purpose: +showing pictures and saving your favoirutes ones. To do that we also have supporting features, like: - User registration and login / logout mechanics @@ -47,6 +48,21 @@ When developing locally, we use: - [`pyenv`](https://github.com/pyenv/pyenv) +## 🚀 Quickstart + +One time setup: +1. `git clone tough-dev-school/python-testing-homework` +2. `cd python-testing-homework` +3. Create your own `config/.env` file: `cp config/.env.template config/.env` and then update it with your own value + +Run tests with: +1. `docker compose run --rm web pytest` + +To start the whole project: +5. Run `docker compose run --rm web python manage.py migrate` (only once) +6. `docker compose up` + + ## Documentation Full documentation is available here: [`docs/`](docs).