Browse Source

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

master
Effy Elden 7 years ago
committed by Eugen
parent
commit
cc83ee60fb
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Vagrantfile

+ 1
- 0
Vagrantfile View File

@@ -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…
Cancel
Save