Re is a tool for helping develop with ego app framework, base on bee.
This is a work in progress.
- Go version >= 1.3
go get -u github.com/go-ego/re
Then you can add re binary to PATH environment variable in your ~/.bashrc or ~/.bash_profile file:
export PATH=$PATH:<your_main_gopath>/bin
USAGE
re command [arguments]
AVAILABLE COMMANDS
new auto-generate code for the ego app, Creates a ego application
api Creates a ego API application
riot Creates a riot application
gse Creates a gse application
run Run the application by starting a local development server
pack Compresses a Ego application into a single file
bale Transforms non-Go files to Go source files
version Prints the current Re version
migrate Runs database migrations
fix fix the ego application to make it compatible with ego 1.0
Use re help [command] for more information about a command.
To create a new Ego web application
To run the application we just created, you can navigate to the application folder and execute:
$ cd my-webapp && re run
Or from anywhere in your machine:
$ re run github.com/user/my-webapp
For more information on the usage, run re help run.
- generate code and docs
- generating a dockerfile
- help with debugging your application
- Supporting ego, buy me a coffee.
-
To contribute to re, please see Contribution Guidelines.
-
See contributors page for full list of contributors.
Re is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.