A web based database admin tool written by Golang support mysql/postgres/sqlite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao 28991f3e8b update README about task (#17) 1 month ago
actions use go mod & add drone (#15) 3 months ago
middlewares use go mod & add drone (#15) 3 months ago
models resolved #2: remove dependency on Mercurial 4 years ago
modules use go mod & add drone (#15) 3 months ago
options/langs add one binary build support 2 years ago
public add mssql support 2 years ago
templates add mssql support 2 years ago
vendor use go mod & add drone (#15) 3 months ago
.drone.yml use go mod & add drone (#15) 3 months ago
.gitignore public bug fix 2 years ago
Dockerfile use go mod & add drone (#15) 3 months ago
Makefile use go mod & add drone (#15) 3 months ago
README.md update README about task (#17) 1 month ago
Taskfile.yml use go mod & add drone (#15) 3 months ago
build.sh add langs 4 years ago
cert.pem language bug fixed & https support 4 years ago
go.mod use go mod & add drone (#15) 3 months ago
go.sum use go mod & add drone (#15) 3 months ago
i18n.go use go mod & add drone (#15) 3 months ago
key.pem language bug fixed & https support 4 years ago
main.go use go mod & add drone (#15) 3 months ago
routers.go use go mod & add drone (#15) 3 months ago
screenshot.png add screenshot 4 years ago

README.md

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.