vendredi 22 novembre 2019

How to instances in .env in laravel?

I wish to integrate CHATkit in my app, and there are some codes that I need to add in my env file, I just wonder what is the proper format to add that code? (like with quotation or without)

here is the code

    CHATKIT_INSTANCE_LOCATOR="INSTANCE_LOCATOR_HERE"
    CHATKIT_SECRET_KEY="SECRET_KEY_HERE"
    CHATKIT_GENERAL_ROOM_ID="GENERAL_ROOM_ID"

    MIX_APP_URL="${APP_URL}"
    MIX_CHATKIT_INSTANCE_LOCATOR="${CHATKIT_INSTANCE_LOCATOR}"

here is how I added them with their proper values.


    CHATKIT_INSTANCE_LOCATOR=v1:us1:6db08bfb-a81f-4755-99ea-
    CHATKIT_SECRET_KEY=669c38c0-59de-4346-8abe-20ee4d4ed4a0:CHATKIT_GENERAL_ROOM_ID=368ec6e3-b7d2-4b32-8e07-700700b51c94

    MIX_APP_URL=http://localhost:8000
    MIX_CHATKIT_INSTANCE_LOCATOR=v1:us1:6db08bfb-a81f-4755-99ea-a3eed57df62d



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire