mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:17:32 +00:00
Export environment variables from .env.vagrant before running rails commands in Vagrant provisioning (#2343)
This commit is contained in:
parent
89dc29affb
commit
cc83ee60fb
1
Vagrantfile
vendored
1
Vagrantfile
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue