-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Convenient script for rapid development #3318
Comments
Your suggestion sounds like #1879, is that correct? |
@foarsitter Correct, the only difference is I am using shell scripts instead of makefiles. For example, for a new project, I generally start with something like this:
|
This is a really good start. I have something I built like this as well but you've got more of the common commands already built out. Adding the $3 arg on to the end of commands like logs/up/down/etc.. would would fill in some holes as well. Also a run bash and pythion manage.py shell are needed. |
Description
This ticket is a suggestion (since I personally follow and I have seen in some non-Django based projects.
While working on some projects, using Django cookie-cutter, I had to refer to the cookie-cutter documentation for a number of commands (especially when working with docker). Hence I suggest a convenient script to cover all major functionalities with intuitive command names (example: python manage.py showmigrations => ./app showmigrations) and then the end-user can further extend this as needed.
Rationale
This could assist the developer in rapid development. Not only they would have the short commands (easy to remember) but also they can extend it further by clubbing 2 or more commands together. Example, taking database backup and uploading to AWS:
Initially we have 3 commands:
Code in our convenience script:
End-user would get simpler commands:
The text was updated successfully, but these errors were encountered: