go get github.com/ecdiy/gpago get github.com/gin-gonic/gingo get github.com/cihub/seeloggo get github.com/hunterhug/go_image/graphicsgo get github.com/ecdiy/itgeek
cd uinpm install
Detailed description: [http://itgeek.top/p/topic/list,300,308,1]
Directory structure
gk 后端GO代码 db 数据库脚本 ui/web pc web端 ui/m h5 tools 工具 tools/post-update 编译参考,可以放在.git/hooks/ 在push代码后自动编译,有前后端的编译,ITGeek.top网站用的自动发布脚本,有需要的可以参考。 tools/nginx-dev.conf 开发时nginx配置 tools/post-update 开发环境nginx配置
Other tools
[https://nodejs.org/en/]
Parameter description
BindAddr=:9000UploadDir=./upload/ 上传图片的目录DbDriver=mysql 数据库驱动名称DbDsn=root:root@tcp(127.0.0.1:3306)/gk?timeout=30s&charset=utf8mb4&parseTime=true ImgHost=http://127.0.0.1:9000MultiSite=0 这个参数不要设置成1,这个多站点标识,如果要设置成多站点与开发者单独联系。geek BindAddr=:88 UploadDir=./upload/ DbDriver=mysql DbDsn=root:root@tcp(127.0.0.1:3306)/gk?timeout=30s&charset=utf8mb4&parseTime=true ImgHost=http://127.0.0.1:9000以上是默认值,如果与之一样可以不用配置
Database Incremental Upgrade:
/db/geek.sql is a database script under the current version, if you need to do an incremental upgrade, refer to this topic [http://www.itgeek.top/p/topic/detail,32,10021]
The use of the process is problematic please go to [http://www.itgeek.top] corresponding plate feedback,.
Feature List
| Functional Category | sub-function | | -|-|| Topics | publishing, attaching, commenting, thanking, collecting | | user | settings, upload avatar, login reward, Personal Homepage | | Upload Picture | compression | | Points | posted (-20), added (-20), commented +-5, thanks +-10| | News | comments | | Notes | categories, Notes | | Share, Weibo |
QQ Group: 620063196