This little set of web components runs the front-end inline donation form on badgerherald.com/donate
Made with stencil.js
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
Fixing DNS issues with Docker: https://development.robinwinslow.uk/2016/06/23/fix-docker-networking-dns/#the-permanent-system-wide-fix