Export environment variables from .env.vagrant before running rails commands in Vagrant provisioning (#2343)
parent
e9bb5e8e8a
commit
6a4e0ff47a
|
@ -63,6 +63,7 @@ bundle install
|
|||
yarn install
|
||||
|
||||
# Build Mastodon
|
||||
export $(cat ".env.vagrant" | xargs)
|
||||
bundle exec rails db:setup
|
||||
bundle exec rails assets:precompile
|
||||
|
||||
|
|
Loading…
Reference in New Issue