Add quick start example from website to README

This commit is contained in:
Mawueli Kofi Adzoe 2015-07-16 04:32:07 +00:00
parent 0564956fd6
commit 45d693e6d6
1 changed files with 22 additions and 1 deletions

View File

@ -7,10 +7,31 @@ beego is an open-source, high-performance, modular, full-stack web framework.
More info [beego.me](http://beego.me)
## Installation
##Quick Start
######Download and install
go get github.com/astaxie/beego
######Create file `hello.go`
```go
package main
import "github.com/astaxie/beego"
func main(){
beego.Run()
}
```
######Build and run
```bash
go build hello.go
./hello
```
######Congratulations!
You just built your first beego app.
Open your browser and visit `http://localhost:8000`.
Please see [Documentation](http://beego.me/docs) for more.
## Features
* RESTful support