fix: settings && update readme

This commit is contained in:
godd0t 2023-05-15 15:20:07 +02:00
parent 91f1cfde1a
commit 3b15ee098f

View File

@ -42,14 +42,14 @@ This quickstart provides an easy way to initiate a Django project using Docker.
cd django-docker-quickstart
```
3. **Copy the `env.example` file to `.env` and update the values as needed:**
<br>
**For Linux/macOS:**
3. **Copy the `env.example` file to `.env` and update the values as needed:**
<br><br/>
**For Linux/macOS:**
```bash
cp env.example .env
```
**For Windows (Command Prompt):**
```powershell
**For Windows (Command Prompt):**
```cmd
Copy-Item -Path env.example -Destination .env
```
@ -74,18 +74,18 @@ This quickstart provides an easy way to initiate a Django project using Docker.
pip install -r src/requirements-dev.txt
```
4. **Build the image and run the container:**
<br>
4. **Build the image and run the container:**
<br><br/>
- If buildkit is not enabled, enable it and build the image:
```bash
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f docker-compose.yml up --build -d
```
- If buildkit is enabled, build the image:
```bash
docker-compose -f docker-compose.yml up --build -d
```
- Or, use the shortcut:
```bash
make build-dev
@ -95,8 +95,8 @@ You can now access the application at http://localhost:8000. The development env
### Production Setup
1. **Build the image and run the container:**
<br>
1. **Build the image and run the container:**
<br><br/>
- If buildkit is not enabled, enable it and build the image:
```bash
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f docker-compose.prod.yml up --build -d