You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$(ENV)$(COMPOSE_CMD) -p loop_passenger up --build ||:
16
+
$(ENV)$(COMPOSE_CMD) -p loop_passenger up --build -d ||:
15
17
16
18
loop_down:
17
19
$(ENV)$(COMPOSE_CMD) -p loop_passenger down -v ||:
18
20
19
21
dev_up: dev_down
20
-
$(ENV)$(COMPOSE_CMD) -f docker-compose.yml -f docker/docker-local-override.yaml -p loop_passenger up --build ||:
22
+
$(ENV)$(COMPOSE_CMD) -f docker-compose.yml -f docker/docker-local-override.yaml -p loop_passenger up --build -d
23
+
# These must be copied not bind-mounted b/c docker will present bind-mounted files and being owned by the calling user but OOD requires that config files be owned by root when run in rails_env=production
Copy file name to clipboardExpand all lines: docs/guide/content/development_guide/index.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,13 @@ make loop_build
12
12
make dev_up
13
13
```
14
14
The `make dev_up` command starts the development environment using Docker Compose with local development configuration.
15
-
It runs in the foreground, streaming logs from all containers to your terminal.
16
-
The shell prompt will not return until you stop the environment manually.
15
+
It runs in the background. The shell prompt will return immediately.
17
16
18
-
To stop the environment, press <kbd>Ctrl</kbd>+<kbd>C</kbd>. This will gracefully shut down all containers.
19
-
Alternatively, in another terminal you can run: `make dev_down`
17
+
To stop the environment, run:
20
18
19
+
```bash
20
+
make dev_down
21
+
```
21
22
Once the containers are running visit [https://localhost:33000/pun/sys/loop](https://localhost:33000/pun/sys/loop) and log in with the test user `ood/ood`.
22
23
23
24
The documentation is organized by topic to help you find what you need quickly:
Copy file name to clipboardExpand all lines: docs/guide/content/development_guide/local_environment.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,17 +56,19 @@ make dev_up
56
56
```
57
57
58
58
The `make dev_up` command starts the development environment using Docker Compose with local development configuration.
59
-
It runs in the foreground, streaming logs from all containers to your terminal.
60
-
The shell prompt will not return until you stop the environment manually.
59
+
It runs in the background. The shell prompt will return immediately.
61
60
62
-
To stop the environment, press <kbd>Ctrl</kbd>+<kbd>C</kbd>. This will gracefully shut down all containers.
63
-
Alternatively, in another terminal you can run: `make dev_down`
61
+
To stop the environment, run:
62
+
63
+
```bash
64
+
make dev_down
65
+
```
64
66
65
67
#### Development vs Vanilla Environment
66
68
67
69
The project provides two different targets for running the application locally:
68
70
69
-
-**`make dev_up`** - **Recommended for development**. Uses additional volume mounts for local configuration and development files. This target loads both the main `docker-compose.yml` and the local override file `docker/docker-local-override.yaml`.
71
+
-**`make dev_up`** - **Recommended for development**. Uses additional volume mounts and copies files for local configuration and development. This target loads both the main `docker-compose.yml` and the local override file `docker/docker-local-override.yaml`.
70
72
71
73
-**`make loop_up`** - **Vanilla installation**. Uses only the base Docker Compose configuration without local development overrides. Use this when you need to test the application in a configuration closer to production or for troubleshooting configuration issues.
0 commit comments