-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
30 lines (26 loc) · 989 Bytes
/
Makefile
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
setup:
cp .env.local .env
docker run -it --rm -v ${PWD}:/var/www/html dmyers/laravel:7.2 composer install
nvm use
npm install
npm install -g serverless@2
preview:
php artisan serve
watch:
npm run hot
deploy:
rm -f .env
docker run -it --rm -v ${PWD}:/var/www/html dmyers/laravel:7.2 php artisan optimize:clear --env=local
docker run -it --rm -v ${PWD}:/var/www/html dmyers/laravel:7.2 composer install --optimize-autoloader --no-dev
docker run -it --rm -v ${PWD}:/var/www/html dmyers/laravel:7.2 composer dump-autoload
nvm use
serverless deploy
npm run prod
aws s3 cp public/img/browserconfig.xml s3://uscis-case-tracker
aws s3 cp public/img/manifest.json s3://uscis-case-tracker
aws s3 cp public/img/yandex-browser-manifest.json s3://uscis-case-tracker
aws s3 sync public/img s3://uscis-case-tracker/img --delete
aws s3 sync public/css s3://uscis-case-tracker/css --delete
aws s3 sync public/js s3://uscis-case-tracker/js --delete
logs:
serverless logs -f website