代码拉取完成,页面将自动刷新
同步操作将从 Piplin/Piplin 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
.PHONY: all update-repo dependency-install file-permission migration seed assets-dev assets-production
install: dependency-install dump-autoload file-permission migration seed install-gulp assets-production cache-config
install-dev: dependency-install dump-autoload file-permission migration seed install-gulp assets-dev
update: update-repo dependency-install dump-autoload migration assets-production cache-config
update-dev: update-repo dependency-install dump-autoload migration assets-dev
help:
@echo 'make install -- download dependencies and install'
@echo 'make install-dev -- download dependencies and install without minifing assets'
@echo 'make update-dev -- pull repo and rebuild assets'
@echo 'make update -- pull repo and rebuild assets without minifing'
update-repo:
git reset --hard
git pull origin master
dependency-install:
composer update
file-permission:
chmod -R 777 storage/
chmod -R 777 bootstrap/cache/
chmod -R 777 public/upload
migration:
php artisan migrate --force
seed:
php artisan db:seed
install-gulp:
npm install --g gulp
npm install
assets-production:
gulp --production
assets_dev:
gulp
cs:
vendor/bin/phpcs -p --standard=PSR2 --ignore="app/Helpers/Helpers.php,app/Presenters" app/
vendor/bin/phpdoccheck --directory=app
dump-autoload:
php artisan clear-compiled
cache-config:
php artisan config:cache
php artisan optimize
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。