DKCutter Django is a framework for jumpstarting production-ready Django projects quickly.
Powered by DKCutter, DKCutter Django is a framework for jumpstarting production-ready Django projects quickly.
To scaffold an application using dkcutter, run any of the following four commands and answer the command prompt questions:
npx dkcutter@latest gh:dkshs/dkcutter-django
yarn dlx dkcutter@latest gh:dkshs/dkcutter-django
pnpm dlx dkcutter@latest gh:dkshs/dkcutter-django
bunx dkcutter@latest gh:dkshs/dkcutter-django
You'll be prompted for some values. Provide them, then a Django project will be created for you.
Warning: After this point, change 'DKSHS', etc to your own information.
Answer the prompts with your own desired options. For example:
# output
Enter the project and take a look around:
cd my-awesome-project/
ls
If you want to start faster, you can use the following options:
Flag | Description |
---|---|
--projectName <string> | Your project's human-readable name. |
--projectSlug <string> | Your project's slug without dashes or spaces. |
--description <string> | Describes your project. |
--authorName <string> | The author name. |
--domainName <string> | The domain name you plan to use for your project once it goes live. |
--email <string> | The email address you want to identify yourself in the project. |
--postgresqlVersion <string> | Select a PostgreSQL version to use. |
--cloudProvider <string> | Select a cloud provider for static & media files. |
--restFramework <string> | Select a REST API framework. |
--mailService <string> | Select an email service that Django-Anymail provides. |
--frontendPipeline <string> | Select a pipeline to compile and optimize frontend assets (JS, CSS, …). |
--additionalTools <string> | Select additional tools to use. |
--automatedDepsUpdater <string> | Choose Automated Dependency Updater. See for more info. |
See for more information about options.
The following would be the structure of an application with Sentry:
pnpm dlx dkcutter gh:dkshs/dkcutter-django --additionalTools sentry
If you want to use all the default values with the exception of one or more, you can do it as follows:
pnpm dlx dkcutter gh:dkshs/dkcutter-django --additionalTools celery,sentry -y
This will use the default values except for --additionalTools
.
This project is licensed under the MIT License - see the LICENSE file for details