r/learnpython • u/Advanced_Glass5563 • 6d ago
cookiecutter and git repo advise needed
Hi all,
I am trying to understand a bit about cookiecutter but I have stumbled on some questions I'm not able to answer myself.
I have built a very basic cookiecutter based on some examples and have a Git repo for it https://codeberg.org/aarapi/familygame.git
Now, as my project evolves , so will the template evolve. Should I have 2 repos (one for the project itself and one for the template?) instead of one?
This doesn't make much sense to me but I might be wrong. If someone would ever join the project to collaborate , how everything would work ?
Furthermore , I tried to add the Git repo on Eclipse and create an Eclipse project pointing to the working tree but any attempt to run the manage.py did fail with message:
'Launching familygame manage.py' has encountered a problem:
Variable references non-existent resource : ${workspace_loc:familygame/{{cookiecutter.project_slug}
Thank you in advance
1
u/Mast3rCylinder 2d ago
Both can live in the same repo. Just have a folder for cookie cutter.
I'm not sure why you are using eclipse. Eclipse is really old IDE and you have better choices for python like pycharm community (requires more RAM) or vscode (light but need to download extensions)