-
Notifications
You must be signed in to change notification settings - Fork 16
/
deploy.bat
36 lines (32 loc) · 1.55 KB
/
deploy.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@echo off
git submodule update --init --recursive
COPY .env.laradock laradock\.env
COPY build\docker-compose.mock laradock\docker-compose.yml
COPY createdb.sql laradock\mysql\docker-entrypoint-initdb.d\createdb.sql
cd laradock
git pull origin master
docker-compose up -d nginx mysql phpmyadmin redis workspace
docker exec laradock_php-fpm_1 chown -R www-data:www-data /var/www/storage
docker exec laradock_workspace_1 rm -f composer.lock
docker exec laradock_workspace_1 composer install
docker exec laradock_workspace_1 npm install
docker exec laradock_workspace_1 php artisan evidentia:start docker
docker exec laradock_workspace_1 php artisan evidentia:start docker
docker exec laradock_workspace_1 php artisan evidentia:instance
docker exec laradock_workspace_1 php artisan key:generate
docker exec laradock_workspace_1 php artisan config:cache
echo
echo WELCOME TO
echo .########.##.....##.####.########..########.##....##.########.####....###...;
echo .##.......##.....##..##..##.....##.##.......###...##....##.....##....##.##..;
echo .##.......##.....##..##..##.....##.##.......####..##....##.....##...##...##.;
echo .######...##.....##..##..##.....##.######...##.##.##....##.....##..##.....##;
echo .##........##...##...##..##.....##.##.......##..####....##.....##..#########;
echo .##.........##.##....##..##.....##.##.......##...###....##.....##..##.....##;
echo .########....###....####.########..########.##....##....##....####.##.....##;
echo
echo Open in a new browser:
echo http://localhost
echo
echo The installation has been completed successfully. Enjoy!
pause