examples icon indicating copy to clipboard operation
examples copied to clipboard

Add "Hello world" example how to deploy things will CI

Open Nyholm opened this issue 5 years ago • 9 comments

Example Github Actions, Bitbucket Pipelines, Travis or Gitlab.

We just need to deploy the echo "hello world"; application. The interesting thing is the CI config.

Nyholm avatar Jan 09 '20 10:01 Nyholm

@robersonfaria

I guess you can make a PR with an example for Bitbucket. If there are any steps you manually need to do in Bitbucket or AWS, just write them down in the readme.

This repository will be moved to the bref organisation when we got some good contents here =)

Nyholm avatar Jan 09 '20 12:01 Nyholm

@Nyholm could you create a bitbucket account for bref for me to use in the CI tutorial? I'll put prints and I think this way is better.

Please add me [email protected] account

robersonfaria avatar Jan 10 '20 16:01 robersonfaria

I invited you as admin

Nyholm avatar Jan 10 '20 16:01 Nyholm

Would love the see the Github Action to do this. Currently, it looks rather daunting to deploy Bref. So a step by step guide would be most appriciated

WyriHaximus avatar Jan 31 '20 21:01 WyriHaximus

@WyriHaximus do you mean "automated deployments" specifically?

If you mean "deployments" in general, this page can help: https://bref.sh/docs/deploy.html If I simplify it roughly, to deploy you need to run serverless deploy.

mnapoli avatar Jan 31 '20 22:01 mnapoli

@mnapoli ok cool because it felt like there is a lot more hidden based on looking at that page.

WyriHaximus avatar Jan 31 '20 22:01 WyriHaximus

@WyriHaximus thank you for the feedback, maybe I should move the "How it works" section lower in the page rather than start with that.

mnapoli avatar Feb 01 '20 09:02 mnapoli

@mnapoli Cheers, I'll try to convert a project tonight and provide additional feedback based on that

WyriHaximus avatar Feb 01 '20 12:02 WyriHaximus

@WyriHaximus I have edited the "Deploy" documentation to start very simply and clearly.

PR: https://github.com/brefphp/bref/pull/551

Here is a screenshot:

Capture d’écran 2020-02-01 à 14 50 27

Hopefully that should help the next users, thank you!

mnapoli avatar Feb 01 '20 13:02 mnapoli

I think this pr can be closed, we have GitHub Actions, GitLab, and Bitbucket examples in the CI/ directory. The travis folder is empty, but could have its own issue requesting an example.

aknosis avatar Dec 13 '23 23:12 aknosis

Thanks

mnapoli avatar Dec 14 '23 10:12 mnapoli