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
2020
2121### Getting started
2222
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+ ```
2432
2533This will setup default configuration (including dummy secrets),
2634install npm dependencies and start the application using docker on port ` 3000 ` .
Original file line number Diff line number Diff line change 11.PHONY : clean build run logsmake
22
33DC =docker compose -f docker-compose.local.yml
4+ DC_DEV =docker compose -f docker-compose.dev.yml
45
56default : help
67init : init-env check-env install
@@ -16,14 +17,17 @@ help:
1617 @echo " TARGETS:"
1718 @echo " init: initialize project"
1819 @echo
20+ @echo " // For starting application"
21+ @echo " start: use prebuilt containers"
22+ @echo
1923 @echo " // For local development"
2024 @echo " dev: start local development"
2125 @echo " dev-all: start all dev containers"
2226 @echo " dev-web: start dev web image"
2327 @echo " dev-cms: start dev cms image"
2428 @echo " dev-db: start dev db image"
2529 @echo
26- @echo " // For building containers"
30+ @echo " // For building local containers"
2731 @echo " build: build all"
2832 @echo " build-web: build web image"
2933 @echo " build-cms: build cms image"
7377 $(DC ) down
7478 $(DC ) down --volumes
7579
80+ start :
81+ $(DC_DEV ) up -d
82+
7683stop :
7784 $(DC ) stop
7885
@@ -85,6 +92,7 @@ stop-cms:
8592stop-db :
8693 $(DC ) stop db
8794
95+
8896# # DOCKER DEVELOPMENT
8997dev : init dev-all
9098
You can’t perform that action at this time.
0 commit comments