Skip to content

iris-contrib/go-admin-template

Repository files navigation

GoAdmin Template

A fork of GoAdminGroup/example show how to run go-admin with Iris. Click here to learn more.

Go-Admin UI

Get started

If you are Windows user, go-sqlite-dirver require to download the gcc to make it work.

Install & run the template with Iris CLI:

$ iris-cli run go-admin
details...

Install & run manually:

$ git clone https://iris-contrib/go-admin-template.git
$ go run .

Using Docker

$ git clone https://github.com/iris-contrib/go-admin-template.git
$ cd go-admin-template
$ docker build -t go-admin-template .
$ docker attach $(docker run -p 8080:8080 -it -d go-admin-template /bin/bash -c "cd /go/src/app && GOPROXY=http://goproxy.cn go run .")

Navigate to localhost:8080/admin. You should see your app running.

Username: admin Password: admin