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

Add reset commands #11

Open
rwstauner opened this issue Mar 19, 2021 · 0 comments
Open

Add reset commands #11

rwstauner opened this issue Mar 19, 2021 · 0 comments

Comments

@rwstauner
Copy link
Contributor

rwstauner commented Mar 19, 2021

we could define in module definitions some commands to reset things, .e.g.

reset:
  testdb: "muss run test bash -c 'dropdb testdbname && createdb testdbname && bin/rake db:extensions db:structure:load RAILS_ENV=test'"

so that muss reset testdb would get people on their way faster and easier than down, drop a docker volume, up or other incantations.
other useful things could be caches, dev db, dynamodb-local, runtime dependencies, etc

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