We supply ready to use Docker environments for plugin development & testing.
docker-compose.yml
Setup Prestashop instance and configure Pgc Extension (Testing)docker-compose.dev.yml
Setup Prestashop instance with Pgc Extension, but without Configuration (Development)
Warning! This docker image is dedicated for development & demo usage, we don't recommended to use it in production.
Run Development Environment
docker-compose -f docker-compose.dev.yml up --force-recreate --renew-anon-volumes
# Reload Extension Source Code in Prestashop by flushing the caches:
docker-compose -f docker-compose.dev.yml exec prestashop /bin/bash -c "rm -rf /bitnami/prestashop/cache/smarty/cache/*; rm -rf /bitnami/prestashop/cache/smarty/compile/*; rm -rf /bitnami/prestashop/img/tmp/*"
Run Test Environment
docker-compose up --force-recreate --renew-anon-volumes
Settings can be supplied as Environment Variables inside the docker-compose file.
Value | Default | Description |
---|---|---|
HTTPS | false | Enable/Disable HTTPS |
REPOSITORY | https://github.com/user/repo | URL to the Repo where your branded Extension is located |
BRANCH | master | Which Branch to checkout from REPOSITORY |
WHITELABEL | AwesomePay | Whitelabel Extension |
PRESTASHOP_EMAIL | [email protected] | Default Admin Email |
PRESTASHOP_USERNAME | user | Default Admin Username |
DEMO_CUSTOMER_PASSWORD | customer | Default User Password |
SHOP_PGC_URL | sandbox | URL to your Gateway API |
SHOP_PGC_USER | test-user | Your Gateway User |
SHOP_PGC_PASSWORD | test-pass | Your Gateway User Password |
SHOP_PGC_API_KEY | key | Your Gateway API-Key |
SHOP_PGC_SECRET | secret | Your Gateway API-Secret |
SHOP_PGC_INTEGRATION_KEY | int_key | Your Gateway Integration Key |
SHOP_PGC_SEAMLESS | 1 | Whether to Enable (1) or Disable (0) Seamless |
Value | Default | Description |
---|---|---|
SHOP_PGC_CC_ | 1 | Enable (1) or Disable (0) CC Brand |
SHOP_PGC_CC__SEAMLESS | 1 | Enable (1) or Disable (0) Seamless for CC Brand |
- VISA
- MAESTRO
- AMEX
- DINERS
- DISCOVER
- JCB
- MASTERCARD
- UNIONPAY
Login: [email protected]
Password: customer
Login: [email protected]
Password: bitnami1