-
Clone docker-compose File
$ git clone https://github.com/JeongJaeSoon/e-global-zone_Docker.git
-
Directory cleanup & docker-compose build / up
$ cd e-global-zone_Docker $ mkdir mysql $ docker-compose build && docker-compose up -d
-
Clone E_Global_Zone Laravel Project to
src
$ rm -r src/E_Global_Zone $ git clone https://github.com/JeongJaeSoon/E_Global_Zone-laravel_distributor.git $ cp -r E_Global_Zone-laravel_distributor src/E_Global_Zone $ rm -rf E_Global_Zone-laravel_distributor
-
Deployment Laravel Project
$ cd src/E_Global_Zone $ composer install $ cp .env.example .env
-
modify .env DB setting
-
Set up Laravel Project
$ php artisan key:generate $ docker exec -it php php /var/www/html/E_Global_Zone/artisan migrate $ docker exec -it php php /var/www/html/E_Global_Zone/artisan passport:install $ docker exec -it php chown -R www-data:www-data /var/www/html/E_Global_Zone/public /var/www/html/E_Global_Zone/storage
-
Run & Check Laravel scheduler crontab
$ docker exec -it php crond -f $ docker exec -it php ps