A example show how to run go-admin. Just for reference, here to know more.
Following three ways to run the code.
If you are Windows user, go-sqlite-dirver require to download the gcc to make it work.
To use go module, you should set GO111MODULE=on first.
git clone https://github.com/GoAdminGroup/example.git
cd example
GO111MODULE=on go run .
visit: http://localhost:9033/admin
To use go path, you should set GO111MODULE=off first.
git clone https://github.com/GoAdminGroup/example.git
go get github.com/kardianos/govendor
cd example
govendor sync
go run .
visit: http://localhost:9033/admin
git clone https://github.com/GoAdminGroup/example.git
cd example
docker build -t go-admin-example .
docker attach $(docker run -p 9033:9033 -it -d go-admin-example /bin/bash -c "cd /go/src/app && GOPROXY=http://goproxy.cn GO111MODULE=on go run .")
visit: http://localhost:9033/admin