This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
cookiecutter.json
45 lines (45 loc) · 1.84 KB
/
cookiecutter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"project_name": "azure",
"python_version": ["3.12", "3.11", "3.10", "3.9", "3.8"],
"project_backend": ["django", "fastapi", "flask"],
"db_resource": ["postgres-flexible", "cosmos-postgres", "postgres-addon", "cosmos-mongodb"],
"project_host": ["aca", "appservice"],
"web_port": "8000",
"__repo_name": "{{cookiecutter.project_name}}-{{cookiecutter.project_backend}}-{{cookiecutter.db_resource}}-{{cookiecutter.project_host}}",
"__src_folder_name": "{{ cookiecutter.__repo_name.lower()|replace(' ', '_')|replace('-', '_')|replace('.', '_')|trim() }}",
"__project_short_description": "Create a relecloud demo application with {{cookiecutter.project_backend}} and {{cookiecutter.db_resource}}",
"_copy_without_render": [
".github/workflows/azure-dev.yml",
".github/workflows/cruft.yml",
".github/workflows/devcontainer-ci.yml",
".github/workflows/format.yml"
],
"_extensions": ["extensions.GetUrlForBackend"],
"_jinja2_env_vars": {
"lstrip_blocks": true,
"trim_blocks": true
},
"__prompts__": {
"project_name": "Name prefix of your project?",
"python_version": "Python Version?",
"project_backend": {
"__prompt__": "Choose a Web Framework",
"django": "Django",
"fastapi": "FastAPI",
"flask": "Flask"
},
"db_resource": {
"__prompt__": "Choose a Database and Host Framework",
"postgres-flexible": "Postgres - Flexible Server",
"cosmos-postgres": "CosmosDB Postgres Adapter",
"postgres-addon": "Azure Container Apps Postgres Addon [red]Requires ACA[/red]",
"cosmos-mongodb": "CosmosDB - MongoDB Adapter [red]Flask/FastAPI Only[/red]"
},
"project_host": {
"__prompt__": "Choose an Azure Host Framework",
"aca": "Azure Container Apps",
"appservice": "Azure App Service"
},
"web_port": "Port to run the web server on?"
}
}