Skip to content

Andrew-Kang-G/laravel-spa-git-deployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel-SPA-git-deployer

Let's figure out and improve simple and safe methods to deploy a laravel SPA app without using deployment tools such as ansible or envoy. I guess 'git' itself should be an excellent tool to deploy our projects.

This is not for an initial deployment, but for continuous deployment methods without stopping our servers.

Please follow the guide.

Setting

  1. Copy all the files here to the root folder of your project.
  2. .git should be set in advance.
  3. Make sure that .env should exist each server respectively (local & remote)
  4. Check puller.sh if it is appropriate for your server environment.

How to use

  1. ./pusher.sh (local)
  2. ./puller.sh (remote deployment)
  3. ./puller.sh back 1 (remote rollback in emergency)

TODO:

  • More sophisticated error handling

About

simple and safe methods to deploy a laravel SPA app only with Git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages