- PHP 5.4
- Composer | https://getcomposer.org/download/
- Install in your production server if you want to update your project from
GIT
. - Install in your develop server if you want to update your production server from
FTP
orRSYNC
. RSYNC
only works with public keys. You must have the keys of develop web user installed in your production server.
$> git clone https://github.com/eusonlito/web-deploy.git
$> cd web-deploy
$> composer install
- Set write permissions to web service user to
storage/logs/
andstorage/assets/
folders - Configuration files are in
config/
folder - Create a copy into
config/custom/
to customize configurations - At first, copy
config/middleware.php
intoconfig/custom/
and configure a basic auth user/password - Now you can login with http://yoursite.com/web-deploy/