Skip to content

Donation collection for FOSS groups and individuals

License

Notifications You must be signed in to change notification settings

shleeable/shleepay

 
 

Repository files navigation

ShleePay

fosspay fork

Donation collection for FOSS groups and individuals.

  • Supports one-time and monthly donations
  • Process cards with Stripe
  • Flexible and customizable

Changes from fosspay

patches and inspiration taken from many many other forks

  • Added Docker Support
  • Added additional currencies - Example: aud
  • Added Fee description - (from unascribed fork)

Notes

  • you must serve your site with https for Stripe to work.

Before you start

You will need a number of things set up before you start:

  1. An approved Stripe account
  2. A mail server
  3. A domain name and an SSL certificate
  4. A web server to host ShleePay on

Installation

  • Install Docker, and Docker-Compose.

  • Clone the git repository on the server that you want to host shleepay on:

    git clone git://github.com/shleeable/shleepay.git
    cd shleepay
  • Create and edit the configuration file:
    cp config.ini.docker config.ini
    vim config.ini
  • Build and start shleepay using docker-compose
    docker-compose build
    docker-compose up -d
  • Setup Crontab
    * * * * * cd /path-to-your-project && docker-compose run --rm ShleePay python3 /usr/src/app/cronjob.py >> /dev/null 2>&1 && docker-compose restart ShleePay
  • Setup nginx reverse proxy with HTTPS TLS - see contrib/nginx.conf

  • Setup DNS.

  • Log into https://donate.domain.com, and you will receive further instructions.

About

Donation collection for FOSS groups and individuals

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 45.5%
  • Python 43.7%
  • JavaScript 9.4%
  • Makefile 1.2%
  • Dockerfile 0.2%