# Gratify BNPL

### Running locally

Get your local ip address (something like 192...) - localhost won't work, then:
`export EXTERNAL_IP=<your local ip>`

Use docker-compose
`docker-compose up`

To test, visit `http://<your local ip>`

To administer, visit `http://<your local ip>/wp-admin` using gratify/gratify

### Modifying

This folder is mapped to the plugin folder installed in the docker woocommerce container. Changes to files here appear in the plugin immedately

### Building

Bump version in composer.json
Bump version in gratify-BNPL.php
Create new GitHub release (with same version)

### Publishing

Build @gratifypay/repo
Upload latest version to s3://assets.prod.gratifypay.com/plugins/gratifypay-woocommerce.zip
