Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 3dfc034

Browse files
committed
feat(makefile): add note to dev-all and dev-cms script to think of config import
1 parent 0c8e073 commit 3dfc034

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

cms/.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ root = true
22

33
[*]
44
indent_style = space
5-
indent_size = 2
5+
indent_size = 4
66
end_of_line = lf
77
charset = utf-8
88
trim_trailing_whitespace = true
99
insert_final_newline = true
1010

1111
[{package.json,*.yml}]
1212
indent_style = space
13-
indent_size = 2
13+
indent_size = 4
1414

1515
[*.md]
1616
trim_trailing_whitespace = false

makefile

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ help:
3434
@echo " check-env: compare keys in .env files with .env.example files"
3535
@echo " logs: show logs for all containers"
3636
@echo " clean: clean up workspace"
37+
@echo
3738
@echo " stop: stop all containers"
39+
@echo " stop-web: stop only web"
40+
@echo " stop-cms: stop only cms"
41+
@echo " stop-db: stop only db"
3842

3943
## GENERAL
4044

@@ -66,17 +70,28 @@ clean:
6670
stop:
6771
$(DC) stop
6872

73+
stop-web:
74+
$(DC) stop web
75+
76+
stop-cms:
77+
$(DC) stop cms
78+
79+
stop-db:
80+
$(DC) stop db
81+
6982
## DOCKER DEVELOPMENT
7083
dev: init dev-all
7184

7285
dev-all:
7386
$(DC) up -d
87+
@echo 'NOTE: Make sure to import new config files to the database. Go to Settings > Config Sync > Interface in the Admin Panel and click on "Import".'
7488

7589
dev-web:
7690
$(DC) up -d web
7791

7892
dev-cms:
7993
$(DC) up -d cms
94+
@echo 'NOTE: Make sure to import new config files to the database. Go to Settings > Config Sync > Interface in the Admin Panel and click on "Import".'
8095

8196
dev-database:
8297
$(DC) up -d db
@@ -88,5 +103,5 @@ build: init
88103
build-web:
89104
$(DC) build web
90105

91-
build-backend:
106+
build-cms:
92107
$(DC) build cms

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "Next generation of Vim Landing Page",
55
"scripts": {
6-
"dev": "docker compose -f .development.docker-compose.yml up -d --build",
6+
"dev": "docker compose -f .development.docker-compose.yml up -d --build"
77
},
88
"author": "",
99
"license": "ISC"

0 commit comments

Comments
 (0)