Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
docs: local development using docker (#10214)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArvindParekh committed Feb 15, 2024
1 parent 8d9c91a commit 0c16228
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pages/docs/environments/local-development.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,21 @@ You will need <Link href="https://docs.docker.com/compose/">Docker and Docker Co
### Setup

1. Make sure you have cloned the repository and are in the root of the project.
2. Execute the following command, this will build the images and start the containers.
2. Ensure that the Docker daemon is running, which is required to execute Docker commands. To do this, launch your Docker Desktop application; this will start the daemon automatically in the background. For users who have installed Docker through the CLI, please refer to the <Link href="https://docs.docker.com/config/daemon/start/">official Docker documentation</Link> for instructions on starting the Docker daemon based on your operating system.
3. Execute the following command, this will build the images and start the containers.

```bash
docker compose up
```

3. You can now access the application at `http://localhost:3000`.
4. If you make any changes to the dependencies, it's recommended to rebuild the images with the following command.
4. You can now access the application at `http://localhost:3000`.
5. If you make any changes to the dependencies, it's recommended to rebuild the images with the following command.

```bash
docker compose up --build
```

5. If you want to stop the containers, you can use the following command:
6. If you want to stop the containers, you can use the following command:

```bash
docker compose down
Expand Down

0 comments on commit 0c16228

Please sign in to comment.