I installed E-commerce (I using native installation)
I follow the instruction :
https://openedx.atlassian.net/wiki/display/OpenOPS/How+to+Install+and+Start+the+E-Commerce+Service+in+Native+Installations
I checked,I have installed E-commerce service successfully.But When I 
browser to* http://localhost:18130* (E-commerce site) it display 
*:NOT FOUND*This is my *ecommerce.yml* file (/edx/etc/ecommerce.yml):
# This file is created and updated by ansible, edit at your peril

AFFILIATE_COOKIE_KEY: dev_affiliate_id
BROKER_URL: amqp://celery:celery@10.0.2.15:5672
*COMMERCE_API_URL: http://localhost:80/api/commerce/v1/*
COMPREHENSIVE_THEME_DIRS: null
*COURSE_CATALOG_API_URL: http://localhost:8008/api/v1/*
DATABASES:
    default:
        ATOMIC_REQUESTS: true
        CONN_MAX_AGE: 60
        ENGINE: django.db.backends.mysql
        HOST: localhost
        NAME: ecommerce
        PASSWORD: password
        PORT: '3306'
        USER: ecomm001
DATABASE_OPTIONS:
    connect_timeout: 10
DEFAULT_SITE_THEME: null
*ECOMMERCE_URL_ROOT: http://localhost:18130*
*EDX_API_KEY: PUT_YOUR_API_KEY_HERE                # --------------->>> 
Question 1:How I get EDX_API_KEY  ?                           
*ENABLE_COMPREHENSIVE_THEMING: 
false
*ENROLLMENT_API_URL: http://localhost:80/api/enrollment/v1/enrollment*
JWT_AUTH:
    JWT_ALGORITHM: HS256
    JWT_DECODE_HANDLER: ecommerce.extensions.api.handlers.jwt_decode_handler
    
*JWT_ISSUERS:    - http://localhost:80/oauth2*
    - ecommerce_worker
    JWT_LEEWAY: 1
    JWT_SECRET_KEY: lms-secret
    JWT_SECRET_KEYS:
    - lms-secret
    JWT_VERIFY_EXPIRATION: true
LANGUAGE_CODE: en-us
LMS_DASHBOARD_URL: http://localhost:80/dashboard
LMS_HEARTBEAT_URL: http://localhost:80/heartbeat
*LMS_URL_ROOT: http://localhost:80*
*OAUTH2_PROVIDER_URL: http://localhost:80/oauth2*
OSCAR_FROM_EMAIL: os...@example.com
*PAYMENT_PROCESSOR_CONFIG:*
    edx:
        cybersource:
            access_key: SET-ME-PLEASE
            cancel_page_url: http://127.0.0.1:8000/commerce/checkout/cancel/
            merchant_id: SET-ME-PLEASE
            payment_page_url: https://set-me-please
            profile_id: SET-ME-PLEASE
            receipt_page_url: 
http://127.0.0.1:8000/commerce/checkout/receipt/
            secret_key: SET-ME-PLEASE
            soap_api_url: https://set-me-please
            transaction_key: SET-ME-PLEASE
        *paypal:                                                                
 
#--------------------------------->>>I use paypal                       *
            cancel_url: http://127.0.0.1:8000/commerce/checkout/cancel/
            client_id: xxxxxxxxx
            client_secret: xxxxxx
            error_url: http://127.0.0.1:8000/commerce/checkout/error/
            mode: Sandbox
            receipt_url: http://127.0.0.1:8000/commerce/checkout/receipt/
PLATFORM_NAME: Your Platform Name Here
*SECRET_KEY: Your secret key here            # -------------->>>           
                Question 2:  How I get Secret key ?*
SEGMENT_KEY: null
SOCIAL_AUTH_EDX_OIDC_ID_TOKEN_DECRYPTION_KEY: ecommerce-secret
SOCIAL_AUTH_EDX_OIDC_KEY: ecommerce-key
*SOCIAL_AUTH_EDX_OIDC_LOGOUT_URL: http://localhost:80/logout*

*SOCIAL_AUTH_EDX_OIDC_SECRET: 
ecommerce-secretSOCIAL_AUTH_EDX_OIDC_URL_ROOT: http://localhost:80/oauth2*
SOCIAL_AUTH_REDIRECT_IS_HTTPS: false
STATIC_ROOT: /edx/var/ecommerce/staticfiles
SUPPORT_URL: SET_ME_PLEASE
THEME_SCSS: sass/themes/default.scss
TIME_ZONE: UTC


*PLEASE ANWSER 2 QUESTION ABOVE!THANK YOU  (^-^) !*

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/defee5a9-ff2f-4902-909d-45ef6de6d479%40googlegroups.com.

Reply via email to