Runs yarn install at project level on app boot (#304)

This commit is contained in:
Kieran
2024-07-11 09:29:53 -07:00
committed by GitHub
parent c0b8dec520
commit bb0e104b7e
+4 -4
View File
@@ -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