GoAdminGroup / example_with_frontend

example with frontend template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoAdmin Example

中文说明

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.

use go module

To use go module, you should set GO111MODULE=on first.

step 1

git clone https://github.com/GoAdminGroup/example.git

step 2

cd example
GO111MODULE=on go run .

visit: http://localhost:9033/admin

use docker

step 1

git clone https://github.com/GoAdminGroup/example.git

step 2

cd example
docker build -t go-admin-example .

step 3

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

About

example with frontend template


Languages

Language:JavaScript 41.8%Language:CSS 38.3%Language:Go 19.6%Language:Makefile 0.3%Language:Dockerfile 0.0%