https://github.com/dongweiming/geek-pu
摆摊摆摊,极客电玩小铺
https://github.com/dongweiming/geek-pu
Last synced: 6 months ago
JSON representation
摆摊摆摊,极客电玩小铺
- Host: GitHub
- URL: https://github.com/dongweiming/geek-pu
- Owner: dongweiming
- License: gpl-3.0
- Created: 2020-06-16T00:03:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-05T02:24:50.000Z (over 2 years ago)
- Last Synced: 2025-04-07T21:27:01.145Z (8 months ago)
- Language: Go
- Homepage:
- Size: 128 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 微信小程序 - 极客电玩小铺
## Introduction
功能
- [x] 游戏名称搜索
- [x] 游戏区域筛选
- [x] 微信通知订阅
## Getting start
##### 1. Check out the repository
```bash
❯ git clone https://github.com/dongweiming/geek-pu
```
##### 2. 使用微信开发者工具打开该项目
##### 3. 启动服务
```bash
❯ cd geek-pu
❯ go run manage.go initdb # 初始化数据库
❯ cp config.toml.tmpl config.toml # 根据配置模板修改数据库配置
# 导入数据
❯ mysql -u USER -p DATABASE < database/data.sql
# 如果是自己的数据,可以通过manage.go创建,还可以加可选的 -v 增加商品说明
# go run manage.go add -t 马里奥派对 -c pd.jpg -r 2018-10-05 -s 9.1 -d 30245974 -a 美版 -l 简体中文 -p Switch
# go run manage.go update -p 2900 -i 14 -t 4
❯ go run server.go # 启动服务, 当然也可以使用只对外用Nginx
```
## Experience it
扫描下方小程序码可以进行体验