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

Commit f11edd9

Browse files
committed
feat(makefile): update install script
1 parent 3dfc034 commit f11edd9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@ help:
4444

4545
install:
4646
@echo "Installing web dependencies"
47-
@cd web && npm install
47+
@echo "==========================="
48+
cd web && . ${NVM_DIR}/nvm.sh && nvm use && npm install
4849
@echo "Installing cms dependencies"
49-
@cd cms && npm install
50+
@echo "==========================="
51+
cd cms && . ${NVM_DIR}/nvm.sh && nvm use && npm install
5052

5153
init-env:
5254
test -f .env || cp .env.example .env

0 commit comments

Comments
 (0)