Dental Academy
Requirements:
- Java 11
- PostgreSQL 12
Installing:
Set next environment variables:
Environment Variable | Description | Example |
---|---|---|
Database - Localhost | ||
PORT | Application port. Default: 8080 |
|
JDBC_DATABASE_URL | Database url. Default: jdbc:postgresql://localhost:5432/dental-academy |
|
JDBC_DATABASE_USERNAME | Database username. Default: postgres |
|
JDBC_DATABASE_PASSWORD | Database password. Default: postgres |
|
Database - Heroku Test Environment | ||
DATABASE_URL | (Usually added automatically) Database url in format: postgres://user:pass@host:port/dbname |
|
Payment options | ||
PAYMENT_PROVIDER | Payment provider | LIQPAY FONDY PORTMONE WAYFORPAY |
ORDER_PREFIX | Order prefix. Will be added to the number of order. Solves the problem when several environments use the same payment provider account. Default: LOCAL- |
TEST- |
PAYMENT_TIME | Time limit to purchase the order (in minutes). Default: 15 |
30 |
CURRENCY | Currency for purchases. Default: UAH |
UAH USD |
CALLBACK_HOST | Callback host for payment providers, to which the client will be redirected after purchase on the checkout page (without slash in the end) | https://dental-academy.herokuapp.com |
Payment Providers Accounts Credentials | ||
LIQPAY_PRIVATE_KEY | LiqPay Private Key | |
LIQPAY_PUBLIC_KEY | LiqPay Public Key | |
FONDY_MERCHANT_ID | Fondy Merchant Id | |
FONDY_MERCHANT_PASSWORD | Fondy Merchant Password | |
PORTMONE_PAYEE_ID | Portmone Payee Id | |
WAYFORPAY_LOGIN | WayForPay Login | |
WAYFORPAY_SECRET_KEY | WayForPay Secret Key | |
AWS | ||
AWS_ACCESS_KEY_ID | AWS Access key id | |
AWS_SECRET_ACCESS_KEY | AWS Secret access key | |
AWS_REGION | AWS Region | eu-central-1 |
S3_BUCKET_NAME | S3 Bucket Name | |
etc | ||
HOST | Domain name used for emails (without slash in the end) | http://dental-academy.herokuapp.com |
STORAGE_LOCATION | Folder, where to save files uploaded via website | C:/dental-academy/files |
NOTIFICATION_EMAILS | Administrators Emails, where to send different notification about events on website (eg. user registered for event) | admin@example.com |