代码拉取完成,页面将自动刷新
git config --global credential.helper store && git config --global core.ignorecase false && git config --global core.autocrlf true
git clone https://gitee.com/workwodrow/lzdls.git
cd path/to/project
php composer.phar install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --no-scripts --no-suggest --optimize-autoloader -vvv
php init
sshfs -o allow_other,nonempty,IdentityFile=~/.ssh/id_rsa -p port username@host:/path/to/storage/ /@storage_root
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location /api {
try_files $uri $uri/ /api/index.php$is_args$args;
}
location /xcxApi {
try_files $uri $uri/ /xcxApi/index.php$is_args$args;
}
location /adminApi {
try_files $uri $uri/ /adminApi/index.php$is_args$args;
}
location /gylApi {
try_files $uri $uri/ /gylApi/index.php$is_args$args;
}
location /admin {
try_files $uri $uri/ /admin/index.php$is_args$args;
}
location /home {
try_files $uri $uri/ /home/index.php$is_args$args;
}
dir
web/dir
web/static/dir
common/bootstrap.php
@property \yii\web\UrlManager $urlManager?? && isApi
@property \common\components\api_tool\???Api $???ApiTool
'urlManager??' => [
'class' => 'yii\web\UrlManager',
'cache' => false,
'baseUrl' => THIS_SERVER_BASE_URI.'/??',
'hostInfo' => THIS_SERVER_BASE_URI,
'enablePrettyUrl' => true,
'enableStrictParsing' => true,
'showScriptName' => false,
'rules' => [
//基本路径
"GET,POST,PUT,DELETE <controller:[\w-]+>/<action:[\w-]+>" => "<controller>/<action>",
//模块化的路径
"GET,POST,PUT,DELETE <module:[\w-]+>/<controller:[\w-]+>/<action:[\w-]+>" => "<module>/<controller>/<action>",
//带版本号
"GET,POST,PUT,DELETE <version:[\w-]+>/<controller:[\w-]+>/<action:[\w-]+>" => "<version>/<controller>/<action>",
"GET,POST,PUT,DELETE <version:[\w-]+>/<module:[\w-]+>/<controller:[\w-]+>/<action:[\w-]+>" => "<version>/<module>/<controller>/<action>",
],
],
'???ApiTool' => [
'class' => 'common\components\api_tool\???Api',
],
.gitignore
/web/???/index.php
/web/???/robots.txt
environments/dev/dir
environments/dev/web/dir
environments/index.php
setCookieValidationKey '???/config/main-local.php',
setWritable 'web/???/assets',
#只对github.com
git config --global http.https://github.com.proxy socks5://127.0.0.1:10808
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。