/Scrooge

💰 基于 PAYBOB 的个人赞助收款站点 / Personal sponsorship site based on PAYBOB.

Primary LanguageGoMIT LicenseMIT

💰 Scrooge Go Go Report Card

Personal sponsorship site based on PAYBOB. / 基于 PAYBOB 的个人赞助收款站点

“不能再这样下去了——每分钟损失十亿美元!600 年后我非破产不可!” —— 史高治·麦克达克

Requirement

Start

1. Build frontend

git clone git@github.com:wuhan005/Scrooge.git

cd Scrooge/frontend

yarn install && yarn build

2. Build backend

git clone git@github.com:wuhan005/Scrooge.git

cd Scrooge

go build .

3. Create configuration file

Create your own ./conf/Scrooge.ini file based on the example here.

4. Set the environment variables

PGHOST=<PostgreSQL Host>
PGPORT=<PostgreSQL Port>
PGUSER=<PostgreSQL User>
PGPASSWORD=<PostgreSQL Password>
PGDATABASE=<PostgreSQL Database>
PGSSLMODE=disable

PAYBOB_MCHID=<PAYBOB Mchid>
PAYBOB_KEY=<PAYBOB Key>

5. Launch!

./Scrooge web

License

MIT