Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #133 from kjaymiller/adds-project_host-prompt
Browse files Browse the repository at this point in the history
adds project host to prompts
  • Loading branch information
kjaymiller authored Sep 6, 2023
2 parents 3b6bc5b + ed60ab8 commit 26cd027
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 7 additions & 2 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
"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?"
}
}
3 changes: 0 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,13 @@ def CONTEXT_OVERRIDE(web_frameworks, db_resource):
def default_context():
return {
"project_name": "Long_MIXED_CASE-demo name",
"azd_template_version": "0.0.1",
"project_backend": ["django", "fastapi", "flask"],
"use_vnet": "n",
"db_resource": [
"postgres-flexible",
"cosmos-postgres",
"postgres-addon",
"cosmos-mongodb",
],
"opencensus": "y",
"web_port": "8000",
}

Expand Down

0 comments on commit 26cd027

Please sign in to comment.