You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 20:57:11 +00:00
chore: fixed typos
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Change all vars before going to production and remove all comments (!)
|
# Change all vars before going to production and remove all comments (!)
|
||||||
# Below all enviroment variables and default values
|
# Below all environment variables and default values
|
||||||
|
|
||||||
RANDOM_SECRET=very_insecure_key
|
RANDOM_SECRET=very_insecure_key
|
||||||
DJANGO_DEBUG=True
|
DJANGO_DEBUG=True
|
||||||
|
|||||||
+5
-5
@@ -24,7 +24,7 @@ git clone https://github.com/Central-University-IT/test-2025-python-devitq
|
|||||||
cd test-2025-python-devitq/solution
|
cd test-2025-python-devitq/solution
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Customize enviroment
|
#### Customize environment
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cp .env.template .env
|
cp .env.template .env
|
||||||
@@ -34,13 +34,13 @@ And setup env vars according to your needs.
|
|||||||
|
|
||||||
#### Install dependencies
|
#### Install dependencies
|
||||||
|
|
||||||
##### For dev enviroment
|
##### For dev environment
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv sync --all-extras
|
uv sync --all-extras
|
||||||
```
|
```
|
||||||
|
|
||||||
##### For prod enviroment
|
##### For prod environment
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv sync --no-dev
|
uv sync --no-dev
|
||||||
@@ -96,9 +96,9 @@ cd test-2025-python-devitq/solution
|
|||||||
docker build -t prod-2-devitq .
|
docker build -t prod-2-devitq .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Customize enviroment
|
### Customize environment
|
||||||
|
|
||||||
Customize enviroment with `docker run` command (or bind .env file to container), for all enviroment vars and default values see [.env.template](./.env.template).
|
Customize environment with `docker run` command (or bind .env file to container), for all environment vars and default values see [.env.template](./.env.template).
|
||||||
|
|
||||||
### Run docker image
|
### Run docker image
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user