基于golang快速搭建后台管理中心

chenhg5 956d61425a update to latest hace 2 años
deploy 6ba761e545 update example hace 6 años
html a852c79960 update example hace 6 años
logs 01707f2b48 update example hace 6 años
models 45acbf882e update orm hace 6 años
pages 52ec9eaf1b update version hace 2 años
tables 956d61425a update to latest hace 2 años
uploads 681488eebc update example hace 6 años
.gitignore 4517fa1936 release v1.2.20 hace 5 años
Dockerfile 2001ab86b4 add dockerfile hace 6 años
Makefile 05f370829f docs(readme): update readme hace 6 años
README.md 52ec9eaf1b update version hace 2 años
README_CN.md 52ec9eaf1b update version hace 2 años
adm_config.ini 05f370829f docs(readme): update readme hace 6 años
admin.db 956d61425a update to latest hace 2 años
bootstrap.go ab31cd42e4 update to v1.2.15 hace 5 años
config.yml 956d61425a update to latest hace 2 años
go.mod 52ec9eaf1b update version hace 2 años
go.sum 52ec9eaf1b update version hace 2 años
main.go 956d61425a update to latest hace 2 años
main_test.go 9e80d38baf update to v1.2.15 hace 5 años
project.db 956d61425a update to latest hace 2 años

README.md

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