1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-01-31 03:26:13 +00:00

run yarn.install in back-end subfolder as well

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-05-27 12:08:28 +02:00
parent bb1af59414
commit 209ad6d2d8
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931

View File

@ -38,9 +38,12 @@ else
@echo "SUCCESS! Execute 'yarn server-start' and browse http://localhost:4000" @echo "SUCCESS! Execute 'yarn server-start' and browse http://localhost:4000"
endif endif
node_modules: ##@install Install the Node.js dependencies using Yarn node_modules: back-end ##@install Install the Node.js dependencies using Yarn
yarn install yarn install
back-end/node_modules: ##@install Install backend the Node.js dependencies using Yarn
cd back-end && yarn install
check-prod-vars: ##@checks Check if the necesary env variables are set check-prod-vars: ##@checks Check if the necesary env variables are set
ifneq ($(NODE_ENV),$(filter $(NODE_ENV),production development localhost)) ifneq ($(NODE_ENV),$(filter $(NODE_ENV),production development localhost))
@echo "Unknown NODE_ENV value: ${NODE_ENV}" @echo "Unknown NODE_ENV value: ${NODE_ENV}"