Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve venue fixture updating experience #369

Open
drewbrew opened this issue Nov 25, 2020 · 0 comments
Open

Improve venue fixture updating experience #369

drewbrew opened this issue Nov 25, 2020 · 0 comments

Comments

@drewbrew
Copy link
Contributor

Currently, when creating a new venue, the ideal route is:

  1. pipenv run ./manage.py loaddata venues/fixtures*/venues.json
  2. Create the new venue and API configuration in the Django admin
  3. pipenv run ./manage.py dumpdata --indent 2 -o venues/fixtures/venues.json venues.venue venues.venueapiconfiguration
  4. Hand-edit the JSON file to copy over the ABG members to venues/fixtures-al/venues.json and remove the non-HSV entries.
  5. git add venues/fixtures*/venues.json
  6. git commit

Ideally, this should find some way to script steps 3 and 4 in order to make it a single command to dump and split.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant