Comments (2)
Now that scenario 3 has been implemented, I've pondered how a template could be made for it.
Strapi has a template feature for setting up new projects, but it works on a specific structure of what files exist where. The other alternative is that Strapi has starters, which use templates but are more complete applications (so combine something like Next.js + Strapi).
On the other hand you have azd
templates, which are really just taking an existing GitHub repo, cloning it and pushing to Azure using azd up
. These need to be more structured like a standard repo, so could be similar to the starters concept from the Strapi CLI.
Then there's the idea proposed in the initial description, don't have Strapi in the azd
template repo, just the infra
/azure.yaml
/etc. files so you can azd
-ify an existing repo. This would essentially be using the Make your project azd compatible approach, but some how make it easier to import the various files needed, rather than copy/paste them from docs/online.
Here's my pro/con list for the approaches:
- Create a Strapi template or starter
- Pros: integrate with the standard Strapi workflow, working application immediately
- Cons: Requires shipping Strapi "in the box", thus having to worry about upgrade/maintenance of packages
- Create an
azd
template- Pros: Clearer ties to
azd
and that workflow, working application immediately - Cons: Foreign to someone who's familiar with Strapi and bootstrapping projects, requires shipping Strapi in the box
- Pros: Clearer ties to
azd
-only files template- Pros: Don't have to maintain the Strapi instance in the template, allows adding it into existing project
- Cons: Doesn't appear that
azd
has direct support for this workflow at present
from contoso-real-estate.
It looks like the template for azd
and Strapi
has already been created. Can we close this issue? cc @sinedied
contoso-real-estate/infra/main.bicep
Lines 118 to 136 in be1aeb2
from contoso-real-estate.
Related Issues (20)
- [Chore] Portal package has 2 apollo-angular dependencies listed. HOT 3
- [Chore] api-v4 package: double entry of `@azure/functions` HOT 1
- [Chore] Weird error during deployment - stripe plugin
- [Chore] Clean all deprecated dependencies and vulnerabilites
- [Chore] Azure.yml service names - imply order from alphanum name
- [Chore] Azure Functions API: switch `console.` to `context.` HOT 4
- [Chore] Move active development to a DEV branch HOT 2
- [Chore] API endpoint array should have API endpoint
- [Chore] Add playwright dependencies HOT 4
- [Chore] Apply Samples Browser frontmatter to readme.md HOT 1
- [Chore] Fix Fns app to work by default HOT 3
- [Chore] Postgresql failed to restore in `azd provision` HOT 2
- [Chore] Update apollo dependencies HOT 1
- [Question] How are URIs injected into Blog/Next Docker image?
- [Chore] Add Azure resources vscode extension HOT 1
- [Chore] CICD versus local dev for post-create-command HOT 5
- [Chore] Postgres fails to install in container - container starts in safe mode HOT 1
- [Chore] Update azure-functions-core-tools to support mac m1/docker HOT 1
- [Docs] overhaul and update all docs and diagrams
- [Chore] rename blog-cms package to headless-cms
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contoso-real-estate.