A web based database admin tool written by Golang support mysql/postgres/sqlite
Go to file
Lunny Xiao faec90227c
All checks were successful
continuous-integration/drone/push Build is passing
update drone
2020-10-25 17:36:54 +08:00
actions use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
middlewares use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
models resolved #2: remove dependency on Mercurial 2015-07-25 19:13:47 +08:00
modules use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
options/langs add one binary build support 2017-03-29 17:20:58 +08:00
public add mssql support 2017-04-22 15:12:31 +08:00
templates add mssql support 2017-04-22 15:12:31 +08:00
vendor use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
.drone.yml update drone 2020-10-25 17:36:54 +08:00
.gitignore public bug fix 2017-03-29 17:48:37 +08:00
build.sh add langs 2015-04-06 22:56:15 +08:00
cert.pem language bug fixed & https support 2015-02-06 17:41:54 +08:00
Dockerfile use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
go.mod use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
go.sum use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
i18n.go use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
key.pem language bug fixed & https support 2015-02-06 17:41:54 +08:00
main.go use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
Makefile update drone 2020-10-25 17:36:54 +08:00
README.md update README about task (#17) 2019-07-25 08:07:57 +00:00
routers.go use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00
screenshot.png add screenshot 2015-02-10 15:35:13 +08:00
Taskfile.yml use go mod & add drone (#15) 2019-06-06 02:43:18 +00:00

DBWeb

DBWeb is a web based database admin tool like phpmyadmin. It' written via xorm, tango, nodb.

Screenshot

dbweb

UI Languages

Now support English and 简体中文.

Database Supports

  • MySQL
  • PostgreSQL
  • sqlite3 : build tag -sqlite3

Installation

You have to install go v1.11 and make GO111MODUlE=on before you build

git clone https://gitea.com/xorm/dbweb.git
cd dbweb
go build

Build via task

You can build dbweb via task.

build with no embbed resources

task build

build with embbed resources

task release

Build via make (deprecated)

If you want to embbed the langs, public and templats to the binary, use the below command. You have to install make before this.

TAGS="bindata" make generate build

Notice: If you want to serve via HTTPS, you still put your *.pem files on the home directory.

Run

./dbweb -home=$GOPATH/src/github.com/go-xorm/dbweb/
./dbweb -help

dbweb version 0.2

  -debug=false: enable debug mode
  -help=false: show help
  -https=false: enable https
  -home=./: set the home dir which contain templates,static,langs,certs
  -port=8989: listen port

Then visit http://localhost:8989/

The default user is admin and password is also admin. You can change it after you logged in.