From 209ad6d2d86ab8c56ea8e77fbdca8ef6e073f15d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 27 May 2022 12:08:28 +0200 Subject: [PATCH] run yarn.install in back-end subfolder as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 02ea92d..d409720 100644 --- a/Makefile +++ b/Makefile @@ -38,9 +38,12 @@ else @echo "SUCCESS! Execute 'yarn server-start' and browse http://localhost:4000" 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 +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 ifneq ($(NODE_ENV),$(filter $(NODE_ENV),production development localhost)) @echo "Unknown NODE_ENV value: ${NODE_ENV}"