https://github.com/georgeboot/laravel-bref-template
A template for deploying a full-featured Laravel app using bref.sh
https://github.com/georgeboot/laravel-bref-template
Last synced: about 1 year ago
JSON representation
A template for deploying a full-featured Laravel app using bref.sh
- Host: GitHub
- URL: https://github.com/georgeboot/laravel-bref-template
- Owner: georgeboot
- Created: 2021-01-29T16:19:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-04T14:05:31.000Z (over 5 years ago)
- Last Synced: 2025-03-29T13:51:22.850Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 81.1 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# laravel-bref-template
This package is a good starting point for deploying your full-featured Laravel app using bref.sh.
## How to use
- Copy the GitHub Action
- Copy `serverless.yml` file
- Install `bref/bref` and `bref/bref-laravel` (note https://github.com/brefphp/laravel-bridge/pull/31)
- Make sure you have `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` in your GitHub Repo secrets.
- Walk through `.github/workflows/deploy.yml` and `serverless.yml`, look for references to `laravel-bref-template` and
others, and replace them with actual values.
- For values referencing ssm, use Bref's dashboard (`vendor/bin/bref dashboard`) or use the AWS CLI / Console to create
them.
- Run `serverless deploy` (and use `serverless delete` to take down everything that was created)