https://github.com/iris-contrib/go-admin-template
Iris CLI Template for go-admin with Iris
https://github.com/iris-contrib/go-admin-template
go go-admin golang iris iris-go iris-golang
Last synced: 3 months ago
JSON representation
Iris CLI Template for go-admin with Iris
- Host: GitHub
- URL: https://github.com/iris-contrib/go-admin-template
- Owner: iris-contrib
- Created: 2020-08-02T00:33:02.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T20:51:49.000Z (about 2 years ago)
- Last Synced: 2024-07-30T19:17:30.889Z (over 1 year ago)
- Topics: go, go-admin, golang, iris, iris-go, iris-golang
- Language: Go
- Homepage: https://github.com/kataras/iris-cli
- Size: 191 KB
- Stars: 90
- Watchers: 6
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoAdmin Template
A fork of [GoAdminGroup/example](https://github.com/GoAdminGroup/example) show how to run go-admin with [Iris](https://github.com/kataras/iris). Click [here](https://github.com/responsibility-act/go-admin) to learn more.

## Get started
If you are Windows user, [go-sqlite-dirver](https://github.com/mattn/go-sqlite3) require to download the gcc to make it work.
Install & run the template with [Iris CLI](https://github.com/kataras/iris-cli):
```sh
$ iris-cli run go-admin
```
details...
Install & run manually:
```sh
$ git clone https://iris-contrib/go-admin-template.git
$ go run .
```
### Using Docker
```sh
$ 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](http://localhost:8080/admin). You should see your app running.
Username: `admin`
Password: `admin`