From bb0e104b7e8f5c396754b2959ef21ffcf5d07c1d Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 11 Jul 2024 09:29:53 -0700 Subject: [PATCH] Runs yarn install at project level on app boot (#304) --- docker/docker-run.dev.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/docker-run.dev.sh b/docker/docker-run.dev.sh index ddae66f2..8ebb1a84 100755 --- a/docker/docker-run.dev.sh +++ b/docker/docker-run.dev.sh @@ -2,12 +2,12 @@ set -e -# Ensure the app's deps are installed +echo "\nInstalling Elixir deps..." mix deps.get -# Install JS deps -echo "\nInstalling JS..." -cd assets && yarn install +# Install both project-level and assets-level JS dependencies +echo "\nInstalling JS deps..." +yarn install && cd assets && yarn install cd .. # Potentially Set up the database