Closed mnapoli closed 3 years ago
Something I forgot to mention: I separated the Deployment
page because it is common to both use cases. However, it will be weird that it gets mentioned afterwards.
What I suggest is:
serverless deploy
, straight from your machine (i.e. light introduction to deploying the app)Deployment
page should explain how to do a "proper" deployment, with CI/CDThat way we mimize the duplicated content, and we keep a logical order of things.
This looks fantastic, and I'm excited to help and get started. How can I help?
G
On Mon, May 4, 2020 at 10:18 AM Matthieu Napoli notifications@github.com wrote:
Something I forgot to mention: I separated the Deployment page because it is common to both use cases. However, it will be weird that it gets mentioned afterwards.
What I suggest is:
- both "Bref for web hosting" and "Bref for functions" should explain to deploy with serverless deploy, straight from your machine (i.e. light introduction to deploying the app)
- the Deployment page should explain how to do a "proper" deployment, with CI/CD
That way we mimize the duplicated content, and we keep a logical order of things.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/brefphp/bref/issues/641#issuecomment-623352993, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVYACNOSZQDVRZLN56C33RP2B7PANCNFSM4MYSXTNA .
Following many exchanges and support requests over the months, as well as the fact that native events are better supported by Bref, it could be good to reorganize the documentation to separate:
In the first use case, we use Lambda for (scalable, cheap, effortless) web hosting.
In the second use case, we use Lambda to build event-driven serverless applications using functions.
Naming is hard, but here are possibilities for the 2 "main sections" of the documentation:
Thank you @GeeH for coming up with that!
The last one could also be Bref for event-driven applications but I find that more confusing, and it's a mouthful.
Goals
bref init
. Those that know about Lambda will find their way for easily.serverless.yml
, which is useful.Proposal
Here is a 1st proposal, feedback is welcome:
The design is not set in stone of course, this is a first attempt that iterates on the current design.