A digital platform for managing collections and enabling online commerce.
- Navigate to
static/php/ - Run
composer update
- Create a
.envfile at the root directory - Set permissions to
700and owner/group to your web user (e.g.,www-data:www-datafor nginx) - Add the following environment variables:
PAYPAL_ALLOWED_ORIGIN: The website URL (e.g.,https://servinglibrary.org)PAYPAL_CLIENT_ID_LIVE_US,PAYPAL_CLIENT_SECRET_LIVE_US,PAYPAL_CLIENT_ID_LIVE_EU,PAYPAL_CLIENT_SECRET_LIVE_EU: PayPal credentials from your developer dashboard. See PayPal API Documentation
- Create a
.cachefolder at the root directory - Set permissions to
700and owner/group to your web user (e.g.,www-data:www-datafor nginx)