This are mainly for laravel application deployment purpose within single command line application written in PHP.
Disclaimer: Experimental tools and only support for ubuntu and nginx only.
git clone <repository>
composer install
cp laradep.example.yaml laradep.yaml
-
- Create project from repository.
-
- Setup database.
-
- Setup logging files related for current project.
-
- Setup vhost for nginx server.
-
- Setup ssl using letsencrypt.
php bin/laradep laradep:deploy <project_name> <project_origin_repository>
Or using single line command interface to build what you need only.
php bin/laradep laradep:clone_project <project_name> <project_origin_repository>
php bin/laradep laradep:create_logging <project_name>
php bin/laradep laradep:create_vhost <project_name>
Author : tajul@codexpert.my