Watch 1 Star 1 Fork 0

orh / laravel5.5PHP

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Loading...
readme.md

部署项目

  1. 克隆源代码
git clone git@gitee.com:orh/laravel5.5.git
  1. 安装扩展包依赖
composer install
  1. 生成配置文件
cp .env.example .env

cp resources/assets/sass/_env.scss.example resources/assets/sass/_env.scss
  1. 生成应用秘钥
php artisan key:generate
  1. 数据库迁移
php artisan migrate
  1. 安装前端依赖
yarn
  1. 生成前端资源文件
npm run dev

更新项目

  1. 更新开发环境代码
make update-local
  1. 更新生产环境代码
make update-production

提交代码

  1. PHP 代码风格校正
composer run-script phpcs
  1. 拉取最新代码
git pull
  1. 添加所有文件到暂存区
git add -A
  1. 提交到版本库
git commit -m "本次提交说明"
  1. 推送到主仓库
git push

Comments ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/orh/laravel5.5.git
git@gitee.com:orh/laravel5.5.git
orh
laravel5.5
laravel5.5
master

Help Search