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

Commit 603122d

Browse files
committed
feat(makefile): add import and export target
1 parent 1c39aa8 commit 603122d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ check-env:
6262
./scripts/check-env.sh .env.example web/.env
6363
./scripts/check-env.sh cms/.env.example cms/.env
6464

65+
# NOTE: Package throws an error when using the CLI to import or export config
66+
import-config:
67+
@echo "Syncing config files to the database"
68+
cd cms/ && npm run cs i
69+
export-config:
70+
@echo "Exporting config files from the database"
71+
cd cms/ && npm run cs e
72+
6573
logs:
6674
$(DC) logs -t -f web db cms
6775

0 commit comments

Comments
 (0)