Skip to content

Commit 7d8d49b

Browse files
committed
Update: README.md
1 parent 317c559 commit 7d8d49b

1 file changed

Lines changed: 30 additions & 62 deletions

File tree

README.md

Lines changed: 30 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,36 @@
1010
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=Pryanik0071_python-project-52&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=Pryanik0071_python-project-52)
1111
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=Pryanik0071_python-project-52&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=Pryanik0071_python-project-52)
1212

13+
## ENV
14+
15+
**Создайте файл .env в корневой папке и добавьте следующие переменные:**
16+
17+
```dotenv
18+
DEBUG=True
19+
SECRET_KEY="some-secret-key"
20+
DATABASE_URL="postgres://postgres:postgres@postgres:5432/postgres"
21+
ENVIRONMENT="dev"
22+
```
23+
24+
**См. пример в .env.examples**
25+
26+
---
27+
28+
## Dependencies
29+
30+
```
31+
"django-bootstrap5>=24.3",
32+
"django-filter>=25.1",
33+
"django>=5.1.6",
34+
"python-dotenv>=1.1.0",
35+
"dj-database-url>=2.3.0",
36+
"psycopg2-binary>=2.9.10",
37+
"gunicorn>=23.0.0",
38+
"whitenoise[brotli]>=6.9.0",
39+
"pytest>=8.3.5",
40+
"pytest-django>=4.11.1",
41+
```
42+
1343
## Установка и использование UV
1444

1545
<details>
@@ -72,65 +102,3 @@ uv run manage.py runserver # Альтернатива python manage.py runserve
72102
</details>
73103

74104
---
75-
76-
77-
78-
79-
80-
81-
82-
83-
84-
85-
86-
87-
88-
89-
90-
91-
92-
93-
94-
95-
96-
97-
98-
99-
100-
101-
102-
<details>
103-
<summary>.ENV</summary>
104-
105-
**Создайте файл .env в корневой папке и добавьте следующие переменные:**
106-
107-
```dotenv
108-
DEBUG=True
109-
SECRET_KEY="some-secret-key"
110-
DATABASE_URL="postgres://postgres:postgres@postgres:5432/postgres"
111-
ENVIRONMENT="dev"
112-
```
113-
114-
**См. пример в .env.examples**
115-
116-
</details>
117-
118-
---
119-
120-
<details>
121-
<summary>Dependencies</summary>
122-
123-
```
124-
"django-bootstrap5>=24.3",
125-
"django-filter>=25.1",
126-
"django>=5.1.6",
127-
"python-dotenv>=1.1.0",
128-
"dj-database-url>=2.3.0",
129-
"psycopg2-binary>=2.9.10",
130-
"gunicorn>=23.0.0",
131-
"whitenoise[brotli]>=6.9.0",
132-
"pytest>=8.3.5",
133-
"pytest-django>=4.11.1",
134-
```
135-
136-
</details>

0 commit comments

Comments
 (0)