Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

simplify remote fixtures scripts #48

Open
seawolf42 opened this issue Mar 5, 2018 · 0 comments
Open

simplify remote fixtures scripts #48

seawolf42 opened this issue Mar 5, 2018 · 0 comments

Comments

@seawolf42
Copy link
Contributor

seawolf42 commented Mar 5, 2018

Remove XXX_fixtures.sh files are replace with a single get_remote_fixtures.sh file that takes a single parameter, the database to use:

get_remote_fixtures.sh $DATABASE_URL

Then when calling the script, get the value of the variable using heroku's command for this:

heroku config:get DATABASE_URL -a <project>-<environment>

Then simplify the make command to:

make fixtures.remote.<environment>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant