For God So loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life.
🕆 Serve the Lord, Jesus, by providing free and open source software for orphanages, to help manage their operations and communications and to aid with meeting needs through fund raising and sponsorship.
Requirements for dev version
- A working wordpress installation 5.0+ with mysql etc...
- PHP 7.0 +
- nodejs and npm for Guten Block generation
Make sure you have composer installed.
From your wordpress installation
cd wp-content/plugins git clone https://github.com/open-orphanage-in-jesus-name/wordpress-open-orphanage-aleluya.git mv wordpress-open-orphanage-aleluya open-orphanage cd open-orphanage composer install
Then in the administrator activate the plugin. You will want to configure the Open Orphanage settings such as adding test stripe api keys and enabling user registrations, and add children. There additionally are some setting in each user's profile.
The plug-in can optionally work with both IFTTT and with Stripe.
Currently the plug-in allows integration with Stripe. When a person signs up as a donor, it will create a stripe customer for the donor and attempt to synchronize the stripe customer details from Wordpress to Stripe. We currently are working on the on-site charging mechanism, and currently you are notified by email the child that a sponsor is interested in, and the user's email address. If stripe is not enabled, then you are still forwarded a users email when they indicate interest in a child. These are currently stored clear text in the password and demonstrated to everyone who is an administrator or has access to the database and backup SQL files.
If you place an IFTTT web service key and event name, this will call that IFTTT webservice upon a person being interested in sponsoring a child. We may in the future expand what can be done through this service. These are currently stored clear text in the password and demonstrated to everyone who is an administrator or has access to the database and backup SQL files.
Additional Development Notes:
Hallelujah, as stated above we need to run composer install in the plugin directory for it to run.
The github distribution has phpunit testing enabled. Make sure you have phpunit and wp-cli installed, use the bin/install-wp-tests.sh to set up the testing db and install and then run phpunit in the root of the plugin directory. More tutorials are available online.
Create Guten Block
This project was bootstrapped with Create Guten Block.
Below you will find some information on how to run scripts.
You can find the most recent version of this guide here.
- Use to compile and run the block in development mode.
- Watches for any changes and reports back any errors in your code.
npm run build
- Use to build production code for your block inside
- Runs once and reports back the gzip file sizes of the produced code.
npm run eject
- Use to eject your plugin out of
- Provides all the configurations so you can customize the project as you want.
- It's a one-way street,
ejectand you have to maintain everything yourself.
- You don't normally have to
ejecta project because by ejecting you lose the connection with
create-guten-blockand from there onwards you have to update and maintain all the dependencies on your own.