mirror of
https://github.com/beego/bee.git
synced 2024-11-25 09:50:55 +00:00
output message
This commit is contained in:
parent
c33b57b605
commit
6df71de34b
34
README.md
34
README.md
@ -89,28 +89,22 @@ For instance, to get more information about the `run` command:
|
||||
|
||||
```bash
|
||||
$ bee help run
|
||||
usage: bee new [appname]
|
||||
usage: bee run [appname] [watchall] [-main=*.go] [-downdoc=true] [-gendoc=true]
|
||||
|
||||
create an application base on beego framework,
|
||||
start the appname throw exec.Command
|
||||
|
||||
which in the current path with folder named [appname].
|
||||
then start a inotify watch for current dir
|
||||
|
||||
The [appname] folder has following structure:
|
||||
when the file has changed bee will auto go build and restart the app
|
||||
|
||||
file changed
|
||||
|
|
||||
check if it's go file
|
||||
|
|
||||
yes no
|
||||
| |
|
||||
go build do nothing
|
||||
|
|
||||
restart app
|
||||
|
||||
|- main.go
|
||||
|- conf
|
||||
|- app.conf
|
||||
|- controllers
|
||||
|- default.go
|
||||
|- models
|
||||
|- routers
|
||||
|- router.go
|
||||
|- tests
|
||||
|- default_test.go
|
||||
|- static
|
||||
|- js
|
||||
|- css
|
||||
|- img
|
||||
|- views
|
||||
index.tpl
|
||||
```
|
Loading…
Reference in New Issue
Block a user