Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sohag-pro/laravel-deployer
No downtime deployment for Laravel project
https://github.com/sohag-pro/laravel-deployer
deployment laravel
Last synced: 14 days ago
JSON representation
No downtime deployment for Laravel project
- Host: GitHub
- URL: https://github.com/sohag-pro/laravel-deployer
- Owner: sohag-pro
- Created: 2022-12-15T09:08:08.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T10:41:45.000Z (about 1 year ago)
- Last Synced: 2024-11-25T21:16:31.290Z (2 months ago)
- Topics: deployment, laravel
- Language: PHP
- Homepage:
- Size: 189 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Laravel Deployer
## Note to Contributors: We're actively seeking your contributions!
Thank you for your interest in our project. We welcome contributions from anyone and everyone! Whether you're a developer, designer, or just someone who wants to help out, there are many ways you can contribute.
We're currently seeking contributions in the following areas:
- Feature requests
- Bug reports
- Code contributions
- Documentation improvementsIf you're interested in contributing, please feel free to open an issue.
We value all contributions and appreciate your help in making our project better. Thank you!
## About Laravel Deployer
It's a no downtime deployer for laravel. You just need to set it up on your server, you will get a UI to deploy your laravel application.How to setup locally
- Clone the repository
```bash
git clone https://github.com/sohag-pro/laravel-deployer.git
```- Install dependencies
```bash
composer install
```- Create a copy of your .env file
```bash
cp .env.example .env
```- Generate an app encryption key
```bash
php artisan key:generate
```- put the env variable in .env file
```bash
GIT_REMOTE_URL=https://github.com/sohag-pro/laravel-deployer.git
# full path from root from where the project will be server
# with a trailing slash
SERVE_DIR=/Users/sohag/Projects/deployer-test/www/# full path from root from where the project will be cloned and all other operations will be done
# Should be different from SERVE_DIR and should be created manually before running the script
# with a trailing slash
BASE_DIR=/Users/sohag/Projects/deployer-test/# where the backups will be stored
VERSION_DIR=backups# where the storage will be linked
STORAGE_DIR=storage# Where the dump SQL will be stored
DB_DIR=database# which db to dump
DEPLOYER_DB_NAME=# user to dump db
DEPLOYER_DB_USER=# password to dump db
DEPLOYER_DB_PASSWORD=
```- Run the local development server
```bash
php artisan serve
```- Visit http://localhost:8000 in your browser
## License
The Laravel Deployer is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).