Skip to content
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

[Thoughts] Adding New Templates #51

Open
john0isaac opened this issue Feb 8, 2024 · 0 comments
Open

[Thoughts] Adding New Templates #51

john0isaac opened this issue Feb 8, 2024 · 0 comments

Comments

@john0isaac
Copy link
Contributor

john0isaac commented Feb 8, 2024

Prerequisites:

A good advice is to start with the base working code that you want to generate using this project, not the other way around as the project is complicated. so, having a reference that you are trying to generate using this project (like a base working code sample) would help you a lot to validate the generated sample and know where to make the changes.
So, you would search for the places where the code changed and try to edit it according to it.

To generate a template using the code you are working on you can use the following command:

cookiecutter ../Azure-Python-Standardization-Template-Generator

Sometimes the infra may be missing the core modules for a bicep that you need so, you may need to add it to the infra/core and use it like this. 658a0f9

The docker-compose.yml file for the devcontainer template extends the db image definition from the templates/ folder so, you may need to add definition there. fcb4309

If you did everything correctly adding more features would be as simple as editing two files d346a55 these are the two files I needed to change to enable ACA.

This project is amazing because it can be easily extended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant