/re

Re is a tool for helping develop with ego app framework.

Primary LanguageGoApache License 2.0Apache-2.0

Ego re

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

Re is a tool for helping develop with ego app framework, base on bee.

This is a work in progress.

简体中文

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.