Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.git

cd Scrooge/frontend

yarn install && yarn build
```

### 2. Build backend

```bash
git clone [email protected]:wuhan005/Scrooge.git

cd 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=disable

PAYBOB_MCHID=
PAYBOB_KEY=
```

### 5. Launch!

```bash
./Scrooge web
```

## License

MIT