21 Star 55 Fork 33

wuwenbin / bookmark

大侠,小白看不太懂配置文档可否写再写详细点?

Done
zy270100179  Opened this issue

用的是新浪sae服务器,谢谢啦

4299 wuwenbin 1578914246 total 2 participants

Comments (2)

4299 wuwenbin 1578914246
wuwenbin 2015-07-11 09:27 owner

新浪SAE安装步骤:

  • 下载bookmark代码到本地并解压;
  • 修改root/config/base.php文件中相关配置:
// 数据库配置修改如下:
$config["db"]["default"] = array(
    // 服务器地址
    "host" => SAE_MYSQL_HOST_M,
    // 服务器端口
    "port" => SAE_MYSQL_PORT,
    // 数据库用户名
    "user" => SAE_MYSQL_USER,
    // 数据库密码
    "pass" => SAE_MYSQL_PASS,
    // 数据库名称
    "name" => SAE_MYSQL_DB,
);
// 取消如下注释:
$config["templateCompilePath"] = SAE_TMP_PATH;
  • 修改root/config/oauth.php文件中clientIdclientSecret配置(需要去各开放平台申请);
  • 压缩目录为zip格式,并通过SAE代码管理上传;
  • 通过SAE管理MySQL导入db/bookmark.sql到数据库;
  • 访问网站首页即可。
4299 wuwenbin 1578914246
wuwenbin 2015-07-11 09:29 owner

Status changed to closed

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
PHP
1
https://gitee.com/wuwenbin/bookmark.git
git@gitee.com:wuwenbin/bookmark.git
wuwenbin
bookmark
bookmark

Search

103611 48b8ff67 1899542 103622 4d02230c 1899542