Replies: 1 comment 1 reply
-
Could you post snippets of your file layout? This would help tremendously understanding how you're using Copier. It's very hard to do that from text alone 🙂 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, thanks for creating this awesome project! I'm currently using it to offer (yet another) FastAPI boilerplate template. In general that works perfectly fine, my question is around local development.
A few important files are templated, e.g.
pyproject.toml
,main.py
and so on, so they're instead calledpyproject.toml.jinja
andmain.py.jinja
respectively. To run, develop and extend the template locally, I need to have those files available though. So far, I'm just having a copy of those files and have the actual file names in.gitignore
to prevent accidental commits.This however would result in a problem after using the template, as the
gitignore
file would still contain the files which have been created from the template, effectively meaning that the user would need to manually change the.gitignore
file. I assume this would result in problems with updates.What would be the recommended workflow to support such scenarios?
Beta Was this translation helpful? Give feedback.
All reactions