Rageframe{php引擎}安装全流程
第一步,下载phpstudy;第二步:百度搜索rageframe进入官网.第三步:第四步:第五步:克隆:在哪里克隆呢?git界面化工具中克隆出来rageframe2安装包.git clone https://github.com/jianyan74/rageframe2.git第六步:把这个文件放到phpstudy的www目录下面.第七步:打开phpstorm....
·
第一步,下载phpstudy;
第二步:百度搜索rageframe进入官网.
第三步:
第四步:
第五步:
克隆:在哪里克隆呢?git界面化工具中克隆出来rageframe2安装包.
git clone https://github.com/jianyan74/rageframe2.git
第六步:
把
这个文件放到phpstudy的www目录下面.
第七步:
第七步:打开phpstudy中的composer界面化工具。
最后,安装伪静态就行了.
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location /backend {
try_files $uri $uri/ /backend/index.php$is_args$args;
}
location /api {
try_files $uri $uri/ /api/index.php$is_args$args;
}
location /merchant {
try_files $uri $uri/ /merchant/index.php$is_args$args;
}
location /merapi {
try_files $uri $uri/ /merapi/index.php$is_args$args;
}
location /html5 {
try_files $uri $uri/ /html5/index.php$is_args$args;
}
location /oauth2 {
try_files $uri $uri/ /oauth2/index.php$is_args$args;
}
location ~* ^/attachment/.*\.(php|php5)$
{
deny all;
}
安装步骤:
git clone https://github.com/jianyan74/rageframe2.git
cd rageframe2
php composer.phar install
php init // 然后输入0回车,再输入yes回车
找到 common/config/main-local.php 并配置相应的信息, 注意要先创建好数据库
php ./yii migrate/up
php ./yii password/init
php composer.phar update
更多推荐
已为社区贡献2条内容
所有评论(0)