From 4836fea8767c38f175f59f8f66579e76fe6354f5 Mon Sep 17 00:00:00 2001
From: Unknown <joe2010xtmf@163.com>
Date: Wed, 12 Feb 2014 12:49:46 -0500
Subject: [PATCH] Init commit

---
 .gitignore       |  3 +++
 README.md        | 18 +++++++++++++++---
 bee.json         | 16 ++++++++++++++++
 conf/app.ini     |  1 +
 gogs.go          | 19 +++++++++++++++++++
 models/models.go |  5 +++++
 routers/home.go  |  9 +++++++++
 7 files changed, 68 insertions(+), 3 deletions(-)
 create mode 100644 .gitignore
 create mode 100644 bee.json
 create mode 100644 conf/app.ini
 create mode 100644 gogs.go
 create mode 100644 models/models.go
 create mode 100644 routers/home.go

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000..82a084b50d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+gogs
+*.exe
+*.exe~
diff --git a/README.md b/README.md
index b4905ba6ef..c8fba75415 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,16 @@
-gogs
-====
+Gogs - Go Git Service
+=====================
 
-Go Git Service
+Gogs(Go Git Service) is a GitHub-like clone in the Go Programming Language.
+
+## Purpose
+
+There are some very good products in this category such as [gitlab](http://gitlab.com), but the environment setup steps often make us crazy. So our goal of Gogs is to build a GitHub-like clone with very easy setup steps, which take advantages of the Go Programming Language.
+
+## Acknowledgments
+
+- Logo inspired by [martini](https://github.com/martini-contrib).
+
+## Contributors
+
+This project was launched by [Unknown](https://github.com/Unknwon) and [lunny](https://github.com/lunny). See [contributors page](https://github.com/gogits/gogs/graphs/contributors) for full list of contributors.
\ No newline at end of file
diff --git a/bee.json b/bee.json
new file mode 100644
index 0000000000..7930694052
--- /dev/null
+++ b/bee.json
@@ -0,0 +1,16 @@
+{
+	"version": 0,
+	"gopm": {
+		"enable": false,
+		"install": false
+	},
+	"go_install": true,
+	"watch_ext": [],
+	"dir_structure": {
+		"controllers": "routers",
+		"models": "",
+		"others": []
+	},
+	"cmd_args": [],
+	"envs": []
+}
\ No newline at end of file
diff --git a/conf/app.ini b/conf/app.ini
new file mode 100644
index 0000000000..f70745d285
--- /dev/null
+++ b/conf/app.ini
@@ -0,0 +1 @@
+APP_NAME = Go Git Service
\ No newline at end of file
diff --git a/gogs.go b/gogs.go
new file mode 100644
index 0000000000..8a4b9e0003
--- /dev/null
+++ b/gogs.go
@@ -0,0 +1,19 @@
+// Copyright 2014 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package main
+
+import (
+	"github.com/codegangsta/martini"
+
+	"github.com/gogits/gogs/routers"
+)
+
+const APP_VER = "0.0.0.0212"
+
+func main() {
+	m := martini.Classic()
+	m.Get("/", routers.HomeGet)
+	m.Run()
+}
diff --git a/models/models.go b/models/models.go
new file mode 100644
index 0000000000..20fc0eb096
--- /dev/null
+++ b/models/models.go
@@ -0,0 +1,5 @@
+// Copyright 2014 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package models
diff --git a/routers/home.go b/routers/home.go
new file mode 100644
index 0000000000..5bb12f6ddd
--- /dev/null
+++ b/routers/home.go
@@ -0,0 +1,9 @@
+// Copyright 2014 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package routers
+
+func HomeGet() string {
+	return "Hello world!"
+}