2014-09-02 14:06:20 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2014-09-06 16:46:31 +04:00
|
|
|
<title>Wide - 安装</title>
|
2014-09-02 19:55:19 +04:00
|
|
|
|
2014-09-02 14:06:20 +04:00
|
|
|
</head>
|
|
|
|
<body>
|
2014-09-06 16:46:31 +04:00
|
|
|
<h1>安装</h1>
|
2014-09-02 14:06:20 +04:00
|
|
|
|
2014-09-02 19:55:19 +04:00
|
|
|
<h2>基础配置</h2>
|
|
|
|
<ol>
|
|
|
|
<li>下载 Wide 安装包</li>
|
|
|
|
<li>解压到安装路径 {wide},例如 /root/wide</li>
|
2014-09-06 16:46:31 +04:00
|
|
|
<li>配置 {wide}/conf/wide.json</li>
|
|
|
|
</ol>
|
2014-09-02 14:06:20 +04:00
|
|
|
|
2014-09-02 19:55:19 +04:00
|
|
|
<h2>多用户配置</h2>
|
|
|
|
前提:需要安装 git。
|
|
|
|
<ol>
|
|
|
|
<li>初始化主库:在 {wide}/data/workspace/src 下执行 git init</li>
|
|
|
|
<li>添加用户:修改 {wide}/conf/wide.json 中的 Users</li>
|
|
|
|
<li>添加用户库:在 {wide}/data/user_workspaces/{user}/ 中 git clone 主库</li>
|
|
|
|
</ol>
|
2014-09-02 14:06:20 +04:00
|
|
|
</body>
|
|
|
|
</html>
|