Code Monkey home page Code Monkey logo

azure-python-standardization-template-generator's Introduction

Cookiecutter Relecloud

Github Build Status

Table of Contents

What is Cookiecutter-Relecloud?

Cookiecutter is a command-line utility that creates projects from cookiecutters (project templates), e.g. creating a Python package project from a Python package project template.

Relecloud is a sample web app created by the Microsoft Python Cloud Advocacy team.

While most cookiecutter generated projects are designed to build with a particular stack, Cookiecutter-Relecloud allows you to create a relecloud project with your choice of web framework, database, and deployment options.

cookiecutter-django.mp4

Features

Deployment Options

Feature Django FastAPI Flask
Deployment - - -
Deploys via AZD
Deploys via Terraform
Deploys via ACA
Deploys with Azure App Service
Databases - - -
Azure ACA Postgres Plugin
Azure Cosmos DB (Postgres Adapter)
Azure Cosmos DB (MongoDB)
Azure Postgres Flexible Server
Azure MySQL Flexible Server
Azure Add-ons - - -
Azure vNet
Azure Secret KeyVault

|✅ (Developed)|🛠️ (In Development)|❌ (Currently Not Supported)|

To request support please create a new discussion.

Deployed Project Examples

Django


FastAPI


Flask


Deploying your cookiecutter template

  1. Create a new folder
  2. Create a virtual environment
python -m venv venv
source venv/bin/activate
  1. Install necessary files
python -m pip install cruft packaging ruff 
  1. Generate the project using this template
python -m cruft create https://github.com/kjaymiller/cookiecutter-relecloud

Getting Updates from this Template

Cruft allows you to update your project with the latest changes from this template. To do so, run the following command:

cruft update

Running your Deployment via DevContainer/Github Codespaces

This template is designed to work with DevContainers and GitHub Codespaces. You can deploy the Github Codespaces instance by clicking the green code button and creating a new codespace.

To deploy the dev container locally you can do so with a compatible code editor like Visual Studio Code.

Deploy your template to Azure

These templates are configured to deploy to Microsoft Azure via the Azure Developer CLI. You can deploy your project immediately using azd up

azure-python-standardization-template-generator's People

Contributors

crazy4pi314 avatar john0isaac avatar karpikpl avatar kjaymiller avatar microsoftopensource avatar oleksis avatar pamelafox avatar tonybaloney avatar

Watchers

 avatar

azure-python-standardization-template-generator's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.