fix: settings && update readme
This commit is contained in:
parent
3b15ee098f
commit
016a00bf2f
13
README.md
13
README.md
@ -43,12 +43,12 @@ This quickstart provides an easy way to initiate a Django project using Docker.
|
|||||||
```
|
```
|
||||||
|
|
||||||
3. **Copy the `env.example` file to `.env` and update the values as needed:**
|
3. **Copy the `env.example` file to `.env` and update the values as needed:**
|
||||||
<br><br/>
|
|
||||||
**For Linux/macOS:**
|
- **For Linux/macOS:**
|
||||||
```bash
|
```bash
|
||||||
cp env.example .env
|
cp env.example .env
|
||||||
```
|
```
|
||||||
**For Windows (Command Prompt):**
|
- **For Windows (Command Prompt):**
|
||||||
```cmd
|
```cmd
|
||||||
Copy-Item -Path env.example -Destination .env
|
Copy-Item -Path env.example -Destination .env
|
||||||
```
|
```
|
||||||
@ -75,7 +75,7 @@ This quickstart provides an easy way to initiate a Django project using Docker.
|
|||||||
```
|
```
|
||||||
|
|
||||||
4. **Build the image and run the container:**
|
4. **Build the image and run the container:**
|
||||||
<br><br/>
|
|
||||||
- If buildkit is not enabled, enable it and build the image:
|
- If buildkit is not enabled, enable it and build the image:
|
||||||
```bash
|
```bash
|
||||||
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f docker-compose.yml up --build -d
|
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f docker-compose.yml up --build -d
|
||||||
@ -96,14 +96,13 @@ You can now access the application at http://localhost:8000. The development env
|
|||||||
### Production Setup
|
### Production Setup
|
||||||
|
|
||||||
1. **Build the image and run the container:**
|
1. **Build the image and run the container:**
|
||||||
<br><br/>
|
|
||||||
- If buildkit is not enabled, enable it and build the image:
|
- If buildkit is not enabled, enable it and build the image:
|
||||||
```bash
|
```bash
|
||||||
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f docker-compose.prod.yml up --build -d
|
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f docker-compose.prod.yml up --build -d
|
||||||
```
|
```
|
||||||
|
|
||||||
- If buildkit is enabled,
|
- If buildkit is enabled, build the image:
|
||||||
build the image:
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose -f docker-compose.prod.yml up --build -d
|
docker-compose -f docker-compose.prod.yml up --build -d
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user