@badgerherald/donate
v0.1.7
Published
Donation shortcode for The Badger Herald
Downloads
34
Readme
Badger Herald Donation Stack
This little set of web components runs the front-end inline donation form on badgerherald.com/donate
Made with stencil.js
Running locally
For convience, docker-compose can be used to run a local WordPress instance.
Steps:
- Copy dev.env to .env and define stripe credentials and other settings
- Install docker and docker-compose
- Run
docker-compose up
- Navigate to http://localhost:8000 in a browser
- Follow the steps to install a fresh WordPress site (use any name, user, password)
- Enable the WordPress theme donate-test
- Enable pretty permalinks to turn on the WP REST API
- (Optional) Install the sendgrid plugin and set a license key to test emails
Troubleshooting
Fixing DNS issues with Docker: https://development.robinwinslow.uk/2016/06/23/fix-docker-networking-dns/#the-permanent-system-wide-fix