Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goadmingroup/example_with_frontend
example with frontend template
https://github.com/goadmingroup/example_with_frontend
Last synced: about 1 month ago
JSON representation
example with frontend template
- Host: GitHub
- URL: https://github.com/goadmingroup/example_with_frontend
- Owner: GoAdminGroup
- Created: 2024-05-22T06:50:48.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-10T01:09:05.000Z (6 months ago)
- Last Synced: 2024-07-10T04:28:46.023Z (6 months ago)
- Language: JavaScript
- Size: 2.65 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoAdmin Example
[中文说明](./README_CN.md)
A example show how to run go-admin. Just for reference, [here](http://www.go-admin.cn/en) to know more.
Following three ways to run the code.
If you are Windows user, [go-sqlite-dirver](https://github.com/mattn/go-sqlite3) require to download the gcc to make it work.
## use go module
To use go module, you should set GO111MODULE=on first.
### step 1
```shell
git clone https://github.com/GoAdminGroup/example.git
```### step 2
```shell
cd example
GO111MODULE=on go run .
```visit: [http://localhost:9033/admin](http://localhost:9033/admin)
## use docker
### step 1
```shell
git clone https://github.com/GoAdminGroup/example.git
```### step 2
```shell
cd example
docker build -t go-admin-example .
```### step 3
```shell
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](http://localhost:9033/admin)