-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0000df
commit 88ea557
Showing
6 changed files
with
65 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,51 @@ | ||
# hw05_final | ||
## Описание | ||
«Yatube» — социальная сеть для блогеров. Зарегистрированные пользователи могут размещать посты, подписываться на других авторов и добавлять свои комментарии. | ||
Проект создан для тренировки написания web приложения с использованием фреймворка Django, в котором: | ||
- создана система регистрации и аутентификации пользователей; | ||
- написаны тесты на код приложения; | ||
- настроено кеширование главной страницы (Список постов на главной странице сайта хранится в кэше и обновляется раз в 20 секунд.) | ||
|
||
[![CI](https://github.com/yandex-praktikum/hw05_final/actions/workflows/python-app.yml/badge.svg?branch=master)](https://github.com/yandex-praktikum/hw05_final/actions/workflows/python-app.yml) | ||
Frontend часть реализована с помощью html шаблонов. | ||
|
||
|
||
## Технологии | ||
- Python | ||
- Django | ||
|
||
|
||
## Локальный запуск проекта | ||
|
||
1. ### Склонируйте репозиторий: | ||
``` | ||
git clone [email protected]:Svetlana-Zimina/hw05_final.git | ||
``` | ||
|
||
2. ### Создайте и активируйте виртуальное окружение: | ||
Команда для установки виртуального окружения на Mac или Linux: | ||
``` | ||
python3 -m venv env | ||
source env/bin/activate | ||
``` | ||
|
||
Команда для установки виртуального окружения на Windows: | ||
``` | ||
python -m venv venv | ||
source venv/Scripts/activate | ||
``` | ||
|
||
|
||
3. ### Установите зависимости: | ||
``` | ||
pip install -r requirements.txt | ||
``` | ||
|
||
8. ### Запустите локальный сервер: | ||
``` | ||
cd yatube | ||
python manage.py runserver | ||
``` | ||
|
||
|
||
## Авторы | ||
Светлана Зимина | ||
https://github.com/Svetlana-Zimina |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ requests==2.26.0 | |
six==1.16.0 | ||
sorl-thumbnail==12.7.0 | ||
Faker==12.0.1 | ||
django-debug-toolbar==3.2.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters