This commit is contained in:
Liang Ding 2014-09-02 17:19:34 +08:00
parent a420cdf049
commit 2cfab34370
3 changed files with 21 additions and 4 deletions

4
.gitignore vendored
View File

@ -1,6 +1,6 @@
/wide.exe /wide.exe
/wide /wide
/data/repos/* /data/workspace/*
/data/user_repos/* /data/user_workspaces/*

View File

@ -8,8 +8,8 @@
"ContextPath": "", "ContextPath": "",
"StaticPath": "", "StaticPath": "",
"RuntimeMode": "dev", "RuntimeMode": "dev",
"Repos": "{pwd}/data/repos/src", "Repos": "{pwd}/data/workspace/src",
"UserRepos": "{pwd}/data/user_repos/{user}/src", "UserRepos": "{pwd}/data/user_workspaces/{user}/src",
"Users": [ "Users": [
{ {
"Name": "admin", "Name": "admin",

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Wide - 多用户</title>
</head>
<body>
<h1>多用户</h1>
支持多个用户同时使用一个 wide 服务器,每个用户有自己独立的源代码仓库,编码/运行/调式都是在自己的用户空间中进行,不会影响其他用户。
<h2>源代码仓库</h2>
使用 git 作为源码版本控制系统data/workspace/src 是主库,每个用户的源码仓库都 clone 自主库。
</body>
</html>