Skip to content

sohag-pro/laravel-deployer

Repository files navigation

Laravel Logo

Laravel Deployer

Laravel Logo

Documentation

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 improvements

If 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
git clone https://github.com/sohag-pro/laravel-deployer.git
  • Install dependencies
composer install
  • Create a copy of your .env file
cp .env.example .env
  • Generate an app encryption key
php artisan key:generate
  • put the env variable in .env file
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
php artisan serve

License

The Laravel Deployer is open-sourced software licensed under the MIT license.

About

No downtime deployment for Laravel project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages