Export environment variables from .env.vagrant before running rails commands in Vagrant provisioning (#2343)

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Effy Elden 2017-04-23 22:21:09 +10:00 committed by Eugen
parent 89dc29affb
commit cc83ee60fb
1 changed files with 1 additions and 0 deletions

1
Vagrantfile vendored
View File

@ -63,6 +63,7 @@ bundle install
yarn install yarn install
# Build Mastodon # Build Mastodon
export $(cat ".env.vagrant" | xargs)
bundle exec rails db:setup bundle exec rails db:setup
bundle exec rails assets:precompile bundle exec rails assets:precompile