Export environment variables from .env.vagrant before running rails commands in Vagrant provisioning (#2343)
This commit is contained in:
1 parent
89dc29affb
commit
cc83ee60fb
1 file changed
+1
Vendored
+1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user