Environment Variables - Prescrypto/WPCI GitHub Wiki

We explain how the environment variables used by the WPCI project are and in some cases we give examples of them.

  • These variables are necessary for accessing to Cryptosign through its API.

    In the CRYPTO_USERNAME and CRYPTO_PASS fields you must fill with you cryptosign user and password respectively, and the CRYPTO_ID and CRYPTO_SECRET fields you must be filled with you cryptosign app data.

    For more information about the cryptosign use see cryptosign reference

    CRYPTO_SIGN_URL = 'https://www.cryptosign.info/' 
    CRYPTO_PASS = ''
    CRYPTO_USERNAME = '' 
    CRYPTO_ID = ''  
    CRYPTO_SECRET = '' 
    
  • This variable save the blockchain server address

    REXCHAIN_URL='https://rexchain-staging.herokuapp.com/' 
    

    When the project is ready this variable must be 'https://rexchain.io/'.

  • The variable BASE_URL='' is the host address/domain where your app is deployed.

  • The variable MONGODB_URI = '' is the complete path to connect to the MONGO DataBase.

  • The variable SECRET='' is the entropy/salt to secure your app with cryptographic methods.

  • The variable PRODUCTION='' is a flag to know if the environment is production or not, this value must be 'True' or 'False'.

  • The variable ADMIN_EMAIL = '' is the email from where the emails are sent.

  • These variables are credentials and params to send emails through SMTP protocol

    SMTP_ADDRESS = '' 
    SMTP_EMAIL = ''  
    SMTP_PORT = ''
    SMTP_USER = ''
    SMTP_PASS = ''
    
  • These variables are used to created tickets for the administrator through JIRA software. For more information access the following link

    JIRA_URL='https://<your_project>.atlassian.net/' 
    JIRA_USER='' 
    JIRA_PASSWORD='' 
    
  • These variable are necessary for accessing to Github through its API. For more information about the creation process access the following link

    GITHUB_OAUTH_URI = 'https://github.com/login/oauth/'
    GITHUB_API_URL = 'https://api.github.com/'
    GITHUB_TOKEN = '' 
    CONSUMER_KEY = '' 
    CONSUMER_SECRET = ''
    
  • These variables are dummy data at the moment because its implementation is not completed.

    PAY_TOKEN=''
    PAY_URL=''
    PAY_PLAN_ID=''
    
  • These variables save the Google Drive API credentials. For more information access the following link

    GOOGLE_CLIENT_ID=''
    GOOGLE_PROJECT_ID=''
    GOOGLE_CLIENT_SECRET=''
    
  • These variables are the AWS(S3) authentication keys. For more information access the following link

    AWS_ACCESS_KEY_ID=''
    AWS_SECRET_ACCESS_KEY=''