Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wuhan005/scrooge
💰 基于 PAYBOB 的个人赞助收款站点 / Personal sponsorship site based on PAYBOB.
https://github.com/wuhan005/scrooge
Last synced: about 10 hours ago
JSON representation
💰 基于 PAYBOB 的个人赞助收款站点 / Personal sponsorship site based on PAYBOB.
- Host: GitHub
- URL: https://github.com/wuhan005/scrooge
- Owner: wuhan005
- License: mit
- Created: 2021-06-12T07:34:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-20T09:23:13.000Z (over 3 years ago)
- Last Synced: 2024-05-02T02:23:03.518Z (6 months ago)
- Language: Go
- Homepage:
- Size: 338 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 💰 Scrooge ![Go](https://github.com/wuhan005/Scrooge/workflows/Go/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/wuhan005/Scrooge)](https://goreportcard.com/report/github.com/wuhan005/Scrooge)
Personal sponsorship site based on [PAYBOB](https://paybob.cn/). / 基于 [PAYBOB](https://paybob.cn/) 的个人赞助收款站点
> “不能再这样下去了——每分钟损失十亿美元!600 年后我非破产不可!” —— [史高治·麦克达克](https://zh.wikipedia.org/wiki/%E5%8F%B2%E9%AB%98%E6%B2%BB%C2%B7%E9%BA%A6%E5%85%8B%E8%80%81%E9%B8%AD)
## Requirement
* [PAYBOB](https://paybob.cn/) Account
* [PostgreSQL](https://wiki.postgresql.org/wiki/Detailed_installation_guides) (v12 or higher)## Start
### 1. Build frontend
```bash
git clone [email protected]:wuhan005/Scrooge.gitcd Scrooge/frontend
yarn install && yarn build
```### 2. Build backend
```bash
git clone [email protected]:wuhan005/Scrooge.gitcd Scrooge
go build .
```### 3. Create configuration file
Create your own `./conf/Scrooge.ini` file based on the example [here](./conf/scrooge.ini).
### 4. Set the environment variables
```
PGHOST=
PGPORT=
PGUSER=
PGPASSWORD=
PGDATABASE=
PGSSLMODE=disablePAYBOB_MCHID=
PAYBOB_KEY=
```### 5. Launch!
```bash
./Scrooge web
```## License
MIT