open-contracting / software-development-handbook

A guide for developers of OCP's tools
https://ocp-software-handbook.readthedocs.io/en/latest/
Other
4 stars 1 forks source link

Python: Consider using cookiecutter to set up projects for consultants #46

Closed jpmckinney closed 2 years ago

jpmckinney commented 2 years ago

https://cookiecutter.readthedocs.io/en/latest/

The handbook now has a lot of specific directions re: directory layout, GitHub Actions workflows, requirements files, etc.

If we anticipate many more new projects, we can consider making cookiecutters for Django projects and Python packages.

https://github.com/datamade/how-to/blob/master/docker/templates/README.md

jpmckinney commented 2 years ago

Options for Django:

https://github.com/cookiecutter/cookiecutter-django

jpmckinney commented 2 years ago

Okay - did one for Django, since I need it for Kingfisher Export. Closing for now, though we can add one for packages if we anticipate more packages in future.

https://github.com/audreyfeldroy/cookiecutter-pypackage

jpmckinney commented 2 years ago

Did one for packages too now, since I think Kingfisher Export might be better as a package.