Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Latest commit

 

History

History
97 lines (73 loc) · 3.63 KB

README_zh.md

File metadata and controls

97 lines (73 loc) · 3.63 KB

Ego re

CircleCI Status Build Status Go Report Card GoDoc Release Join the chat at https://gitter.im/go-ego/ego

Re 是协助 ego 框架进行开发的命令行工具, base on bee.

这是一项正在完善的工作.

Contents

Requirements:

  • Go version >= 1.3

Installation:

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

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.

re new

To create a new Ego web application

re run

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.

Plans

  • generate code and docs
  • generating a dockerfile
  • help with debugging your application

Donate

Contributing

License

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.