care icon indicating copy to clipboard operation
care copied to clipboard

feat: added additional shortcuts to the makefile

Open dhruv-goyal-10 opened this issue 7 months ago • 0 comments

Add Additional shortcuts to the makefile.

  • A wildcard (*) command that can run any command of the type docker compose exec backend bash -c "python manage.py *". For e.g make dbshell, make shell_plus. Any flags and additional data in the command can also be passed down. For e.g make "migrate facility 0001"
  • A separate command reset_db for resetting the database.

Associated Issue

  • #2208

Merge Checklist

  • [ ] Tests added/fixed (N/A)
  • [ ] Update docs in /docs (N/A)
  • [x] Linting Complete
  • [ ] Any other necessary step (N/A)

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

dhruv-goyal-10 avatar Jun 29 '24 09:06 dhruv-goyal-10