EYouth - Open edX Config File
ANDROID_OAUTH2_SECRET: ************************
CMS_OAUTH2_SECRET: ************************
Description: Responsible for Tokens and Passwod, Must not be changed - Automatically Generated
-----------------------------------------------------------------------------------------------------------------------------------------------------------
LMS_HOST: experience.eyouthlearning.com
CMS_HOST: studio.eyouthlearning.com
CONTACT_EMAIL: contact@eyouthegypt.com
-----------------------------------------------------------------------------------------------------------------------------------------------------------
CORS_ALLOWED_ORIGINS:
- https://eyouthlearning.com
- https://eg.eyouthlearning.com
- https://lms.climate.eyouthlearning.com
- https://apps.experience.eyouthlearning.com
CORS_ORIGIN_WHITELIST:
- https://eyouthlearning.com
- https://eg.eyouthlearning.com
- https://apps.experience.eyouthlearning.com
-----------------------------------------------------------------------------------------------------------------------------------------------------------
DISCOVERY_MYSQL_PASSWORD: ********
Description: Password of the Discovery MYSQL Database, Can be changed - Automatically Generated
-----------------------------------------------------------------------------------------------------------------------------------------------------------
DISCOVERY_OAUTH2_SECRET: ********
DISCOVERY_OAUTH2_SECRET_SSO: ********
DISCOVERY_SECRET_KEY: ********************
DISCOVERY_SECRET_KEY: ********************
Description: Responsible for Tokens and Passwod, Must not be changed - Automatically Generated
-----------------------------------------------------------------------------------------------------------------------------------------------------------
DOCKER_IMAGE_OPENEDX: registry.gitlab.com/********/edx-platform
Description: Responsible for determining the place of the registry to pull the image of your custom edx-platform
-----------------------------------------------------------------------------------------------------------------------------------------------------------
ECOMMERCE_API_KEY: ********************
Description: Must not be changed - Automatically Generated
-----------------------------------------------------------------------------------------------------------------------------------------------------------
ECOMMERCE_CURRENCY: EGP
-----------------------------------------------------------------------------------------------------------------------------------------------------------
ECOMMERCE_DOCKER_IMAGE: registry.gitlab.com/********/ecommerce
Description: Responsible for determining the place of the registry to pull the image of your custom ecommerce
-----------------------------------------------------------------------------------------------------------------------------------------------------------
ECOMMERCE_ENABLED_CLIENT_SIDE_PAYMENT_PROCESSORS:
- cybersource
ECOMMERCE_ENABLED_PAYMENT_PROCESSORS:
- cybersource
- paypal
- opay
- circle
Description 1: For tracking any transaction/response of the Payment Processor - Go to https://ecommerce.experience.eyouthlearning.com/admin/payment/paymentprocessorresponse/
Description 2: The Payment processors must be added in the config file and here https://ecommerce.experience.eyouthlearning.com/admin/core/siteconfiguration
-----------------------------------------------------------------------------------------------------------------------------------------------------------
ECOMMERCE_ENABLE_IDENTITY_VERIFICATION: true
-----------------------------------------------------------------------------------------------------------------------------------------------------------
ECOMMERCE_EXTRA_PAYMENT_PROCESSOR_CLASSES:
- ecommerce.extensions.payment.processors.circle.CirclePay
- ecommerce.extensions.payment.processors.opay.OPay
Description: Refer to a specific class in side the project/ecommerce - Must be added
-----------------------------------------------------------------------------------------------------------------------------------------------------------
ECOMMERCE_EXTRA_PAYMENT_PROCESSOR_URLS: {}
ECOMMERCE_MYSQL_PASSWORD: ********
ECOMMERCE_OAUTH2_SECRET: ********
ECOMMERCE_OAUTH2_SECRET_SSO: ********
-----------------------------------------------------------------------------------------------------------------------------------------------------------
ECOMMERCE_PAYMENT_PROCESSORS:
circle:
account_token: *****************************************
acount_key: *****************************************
api_url: sandbox-openapi.circlepay.ai
cancel_checkout_path: /checkout/cancel-checkout/
checkout_url: https://sandbox-openapi.circlepay.ai/invoice/create/v2
currency: EGP
error_path: /checkout/error/
merchant_token: *****************************************
mode: sandbox
receipt_url: /checkout/receipt/
refund_policy_details: You can refund your money within 30 days
refund_policy_flag: false
shipping_policy_flag: false
cybersource:
flex_shared_secret_key: SET-ME-PLEASE
flex_shared_secret_key_id: SET-ME-PLEASE
merchant_id: SET-ME-PLEASE
soap_api_url: https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor/CyberSourceTransaction_1.140.wsdl
transaction_key: SET-ME-PLEASE
opay:
cancel_checkout_path: /checkout/cancel-checkout/
client_id: SET-ME-PLEASE
client_secret: SET-ME-PLEASE
error_path: /checkout/error/
mode: sandbox
receipt_url: /checkout/receipt/
paypal:
cancel_checkout_path: /checkout/cancel-checkout/
client_id: AcM3Ez_CEegERl_1dRHywWgY2x-QtpS0e4ne9VR62abvMkqUfbHm71PJ5fNsIDd54lJ0B15Qd-8wVPpv
client_secret: ****************************************************************************
error_path: /checkout/error/
mode: sandbox
receipt_url: /checkout/receipt/
Description: Inside this file /home/ubuntu/.local/share/tutor/env/plugins/ecommerce/apps/ecommerce/production.py add "eyouth":common_payment_processor_config, at PAYMENT_PROCESSOR_CONFIG after typing tutor config save and before restart beside hashing these lines (from 47 to 53) inside /home/ubuntu/.local/share/tutor/env/build/openedx/Dockerfile
-----------------------------------------------------------------------------------------------------------------------------------------------------------
ECOMMERCE_REPOSITORY: https://********************@gitlab.com/**************/ecommerce.git
ECOMMERCE_SECRET_KEY: ********************
ECOMMERCE_VERSION: main
EDX_PLATFORM_REPOSITORY: https://********************@gitlab.com/**************/edx-platform.git
EDX_PLATFORM_VERSION: main
ENABLE_HTTPS: true
ID: LVhPnUugzKvwqZYWSAb0Vzy9
JWT_RSA_PRIVATE_KEY: '-----BEGIN RSA PRIVATE KEY-----
******************************************************
******************************************************
******************************************************
******************************************************
******************************************************
-----END RSA PRIVATE KEY-----'
-----------------------------------------------------------------------------------------------------------------------------------------------------------
LANGUAGE_CODE: en
Description: Platform Language - Reboot after change it
-----------------------------------------------------------------------------------------------------------------------------------------------------------
MFE_ACCOUNT_MFE_APP:
name: account
port: 1997
repository: https://********************@gitlab.com/**************/openedx-account.git
version: main
MFE_DOCKER_IMAGE: registry.gitlab.com/**************/payment_mfe
MFE_LEARNING_MFE_APP:
name: learning
port: 2000
repository: https://********************@gitlab.com/**************/openedx-learning.git
version: main
MFE_PROFILE_MFE_APP:
name: profile
port: 1995
repository: https://********************@gitlab.com/**************/openedx-profile.git
version: main
ECOMMERCE_MFE_APP:
name: orders
port: 1996
repository: https://********************@gitlab.com/**************/openedx-orders.git
version: main
ECOMMERCE_PAYMENT_MFE_APP:
name: payment
port: 1998
repository: https://********************@gitlab.com/**************/payment_mfe.git
version: main
Description: To switch to another mfe project, change the Version to ayccc for example then type tutor config save and tutor images build {MFE APP Name} - you may need to add --no-cache to build without caching
-----------------------------------------------------------------------------------------------------------------------------------------------------------
MINIO_AWS_SECRET_ACCESS_KEY: ************************
MONGODB_HOST: 172.31.15.227
MYSQL_HOST: prod-tutor.c6yzduvk9kyt.me-south-1.rds.amazonaws.com
MYSQL_ROOT_PASSWORD: ********
MYSQL_ROOT_USERNAME: admin
NOTES_MYSQL_PASSWORD: ********
NOTES_OAUTH2_SECRET: ************************
NOTES_SECRET_KEY: ************************
OPENEDX_AWS_ACCESS_KEY: ********
OPENEDX_AWS_SECRET_ACCESS_KEY: ************************
OPENEDX_CMS_UWSGI_WORKERS: 4
OPENEDX_LMS_UWSGI_WORKERS: 8
OPENEDX_MYSQL_PASSWORD: ********
OPENEDX_SECRET_KEY: ************************
PLATFORM_NAME: EYouth
PLUGINS:
- android
- discovery
- ecommerce
- eyouth
- eyouth_v2
- forum
- license
- mfe
- minio
- notes
REGISTRATION_RATELIMIT: 10000/7d
RUN_MONGODB: false
RUN_MYSQL: false
RUN_SMTP: false
SMTP_HOST: smtp.gmail.com
SMTP_PASSWORD: ****************
SMTP_PORT: 587
SMTP_USERNAME: tech@eyouthegypt.com
SMTP_USE_SSL: false
SMTP_USE_TLS: true