This repository was archived by the owner on Jun 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,15 @@ Prerequisites
20
20
21
21
### Getting started
22
22
23
- Run the application locally with these make commands ` make dev ` .
23
+ Run the application locally with these make commands.
24
+
25
+ ``` sh
26
+ # start prebuilt containers
27
+ make start
28
+
29
+ # or start containers for local development
30
+ make dev
31
+ ```
24
32
25
33
This will setup default configuration (including dummy secrets),
26
34
install npm dependencies and start the application using docker on port ` 3000 ` .
Original file line number Diff line number Diff line change 1
1
.PHONY : clean build run logsmake
2
2
3
3
DC =docker compose -f docker-compose.local.yml
4
+ DC_DEV =docker compose -f docker-compose.dev.yml
4
5
5
6
default : help
6
7
init : init-env check-env install
@@ -16,14 +17,17 @@ help:
16
17
@echo " TARGETS:"
17
18
@echo " init: initialize project"
18
19
@echo
20
+ @echo " // For starting application"
21
+ @echo " start: use prebuilt containers"
22
+ @echo
19
23
@echo " // For local development"
20
24
@echo " dev: start local development"
21
25
@echo " dev-all: start all dev containers"
22
26
@echo " dev-web: start dev web image"
23
27
@echo " dev-cms: start dev cms image"
24
28
@echo " dev-db: start dev db image"
25
29
@echo
26
- @echo " // For building containers"
30
+ @echo " // For building local containers"
27
31
@echo " build: build all"
28
32
@echo " build-web: build web image"
29
33
@echo " build-cms: build cms image"
73
77
$(DC ) down
74
78
$(DC ) down --volumes
75
79
80
+ start :
81
+ $(DC_DEV ) up -d
82
+
76
83
stop :
77
84
$(DC ) stop
78
85
@@ -85,6 +92,7 @@ stop-cms:
85
92
stop-db :
86
93
$(DC ) stop db
87
94
95
+
88
96
# # DOCKER DEVELOPMENT
89
97
dev : init dev-all
90
98
You can’t perform that action at this time.
0 commit comments