liyingxuan / seal-cms

Seal SC CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seal SC Cloud CMS

部署

环境
操作系统:CentOS 7.4+
数据库:MySQL 5.7+ PHP:7.2

$ cd seal-sc
$ chmod -R 777 storage/
$ chmod -R 777 public/

$ vim .env
$ php artisan key:generate 

$ composer install

$ php artisan admin:install
$ php artisan jwt:secret
$ php artisan passport:install

$ php artisan apidoc:generate  # 生成API文档

更新

$ git fetch --all
$ git reset --hard origin/master

$ php artisan apidoc:generate  # 更新API文档

开发

文档

主要是注释要写清,做自动生成。

 *
 * @group Users
 * 
 * @bodyParam name string required Some description.
 * @bodyParam email string required Some description.
 * @bodyParam password string required Some description.
 * @bodyParam c_password string required Some description.
 *
 * @response {
 *     "token": "2019xxx",
 *     "email": "sealsc@sealsc.com"
 * }
 *
$ php artisan apidoc:generate  # 更新API文档

About

Seal SC CMS


Languages

Language:PHP 98.4%Language:HTML 1.3%Language:Vue 0.3%