mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:41:31 +08:00
DEV: Run yarn install before db migrations in d/boot_dev
(#20866)
Yarn dependencies need to be present before booting Rails
This commit is contained in:
parent
d3e5251704
commit
6415bab455
|
@ -110,6 +110,9 @@ if [ "${initialize}" = "initialize" ]; then
|
|||
echo "Installing gems..."
|
||||
"${SCRIPTPATH}/bundle" install
|
||||
|
||||
echo "Yarn install..."
|
||||
"${SCRIPTPATH}/exec" yarn install --cwd app/assets/javascripts/discourse
|
||||
|
||||
echo "Migrating database..."
|
||||
"${SCRIPTPATH}/rake" db:migrate
|
||||
RAILS_ENV=test "${SCRIPTPATH}/rake" db:migrate
|
||||
|
|
Loading…
Reference in New Issue
Block a user