Merge branch 'master' of https://github.com/b3log/wide
This commit is contained in:
commit
b28791eb31
|
@ -9,10 +9,10 @@ A <b>W</b>eb-based <b>IDE</b> for Teams using Golang.
|
|||
## Motivation
|
||||
|
||||
* **Team** IDE:
|
||||
* Safe and reliable: the project source code stored on the server in real time, the developer's machine crashes without losing any source code
|
||||
* Unified environment: server unified development environment configuration, the developer machine without any additional configuration
|
||||
* Out of the box: 5 minutes to setup a server then open browser to develop, debug
|
||||
* Version Control: each developer has its own source code repository, easy sync with the trunk
|
||||
* _Safe and reliable_: the project source code stored on the server in real time, the developer's machine crashes without losing any source code
|
||||
* _Unified environment_: server unified development environment configuration, the developer machine without any additional configuration
|
||||
* _Out of the box_: 5 minutes to setup a server then open browser to develop, debug
|
||||
* _Version Control_: each developer has its own source code repository, easy sync with the trunk
|
||||
* **Web-based** IDE:
|
||||
* Developer needs a browser only
|
||||
* Cross-platform, even on mobile devices
|
||||
|
|
|
@ -299,7 +299,7 @@ func initCustomizedConfs() {
|
|||
// 1. /static/user/{username}/style.css
|
||||
func UpdateCustomizedConf(username string) {
|
||||
var u *User = nil
|
||||
for _, user := range Wide.Users { // ... maybe a beauty of the trade-off between design and implementation
|
||||
for _, user := range Wide.Users { // maybe it is a beauty of the trade-off of the another world between design and implementation
|
||||
if user.Name == username {
|
||||
u = user
|
||||
}
|
||||
|
@ -338,7 +338,11 @@ func UpdateCustomizedConf(username string) {
|
|||
|
||||
defer fout.Close()
|
||||
|
||||
t.Execute(fout, model)
|
||||
if err := t.Execute(fout, model); nil != err {
|
||||
glog.Error(err)
|
||||
|
||||
os.Exit(-1)
|
||||
}
|
||||
}
|
||||
|
||||
// initWorkspaceDirs initializes the directories of master workspace, users' workspaces.
|
||||
|
|
Loading…
Reference in New Issue