Skip to content

Commit 7136c9f

Browse files
authored
update README.md
1 parent 7fa0407 commit 7136c9f

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

README.md

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -29,65 +29,65 @@
2929

3030
## Установка
3131

32-
Клонировать репозиторий:
32+
1. Клонировать репозиторий:
3333

34-
```python
35-
git clone https://github.com/egorcoders/homework_bot.git
36-
```
34+
```python
35+
git clone https://github.com/egorcoders/homework_bot.git
36+
```
3737

38-
Перейти в папку с проектом:
38+
2. Перейти в папку с проектом:
3939

40-
```python
41-
cd homework_bot/
42-
```
40+
```python
41+
cd homework_bot/
42+
```
4343

44-
Установить виртуальное окружение для проекта:
44+
3. Установить виртуальное окружение для проекта:
4545

46-
```python
47-
python -m venv venv
48-
```
46+
```python
47+
python -m venv venv
48+
```
4949

50-
Активировать виртуальное окружение для проекта:
50+
4. Активировать виртуальное окружение для проекта:
5151

52-
```python
53-
# для OS Lunix и MacOS
54-
source venv/bin/activate
52+
```python
53+
# для OS Lunix и MacOS
54+
source venv/bin/activate
5555

56-
# для OS Windows
57-
source venv/Scripts/activate
58-
```
56+
# для OS Windows
57+
source venv/Scripts/activate
58+
```
5959

60-
Установить зависимости:
60+
5. Установить зависимости:
6161

62-
```python
63-
python3 -m pip install --upgrade pip
64-
pip install -r requirements.txt
65-
```
62+
```python
63+
python3 -m pip install --upgrade pip
64+
pip install -r requirements.txt
65+
```
6666

67-
Выполнить миграции на уровне проекта:
67+
6. Выполнить миграции на уровне проекта:
6868

69-
```python
70-
cd yatube
71-
python3 manage.py makemigrations
72-
python3 manage.py migrate
73-
```
69+
```python
70+
cd yatube
71+
python3 manage.py makemigrations
72+
python3 manage.py migrate
73+
```
7474

75-
Зарегистрировать чат-бота в Телеграм
75+
7. Зарегистрировать чат-бота в Телеграм
7676

77-
Создать в корневой директории файл .env для хранения переменных окружения
77+
8. Создать в корневой директории файл .env для хранения переменных окружения
7878

79-
```python
80-
PRAKTIKUM_TOKEN = 'xxx'
81-
TELEGRAM_TOKEN = 'xxx'
82-
TELEGRAM_CHAT_ID = 'xxx'
83-
```
79+
```python
80+
PRAKTIKUM_TOKEN = 'xxx'
81+
TELEGRAM_TOKEN = 'xxx'
82+
TELEGRAM_CHAT_ID = 'xxx'
83+
```
8484

85-
Запустить проект локально:
85+
9. Запустить проект локально:
8686

87-
```python
88-
# для OS Lunix и MacOS
89-
python homework_bot.py
87+
```python
88+
# для OS Lunix и MacOS
89+
python homework_bot.py
9090

91-
# для OS Windows
92-
python3 homework_bot.py
93-
```
91+
# для OS Windows
92+
python3 homework_bot.py
93+
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy