Skip to content

29392964/mgweb

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

mgweb

go语言编写的 mongodb web管理工具

项目使用beego框架实现

项目依赖

项目基于beego,mgo等项目,使用时需提前安装依赖库

安装

$ git clone https://github.com/29392964/mgweb

$ go build

$ ./mgweb

##相关配置 可以在conf/app.conf文件中配置

服务端口

每页显示数据条数

是否可编辑 editable

连接串配置,如demo = 127.0.0.1/test 在登录时输入demo即可

##登录 mongouri 格式如下:

user:password@ip:port/db

如果在conf/app.conf中配置过,可使用

demo (或其他配置名称)

#DEMO http://mgweb.no3g.com

演示账号:demo

##使用golang docker交叉编译 docker run -it -v /Users/yuecaili/Documents/work/golang:/usr/src/myapp -w /usr/src/myapp golang:1.7 bash

export GOPATH="/usr/src/myapp"

go build