From 9fbef09748aab0daea2855e2567fc5cd5b99a555 Mon Sep 17 00:00:00 2001 From: Mahmoudz Date: Sun, 19 Apr 2020 19:25:12 +0200 Subject: [PATCH] upgrade env files --- .env.example | 34 ++++++------- .env.travis | 51 ++++++++++++++++--- .../CODE_OF_CONDUCT.md => CODE_OF_CONDUCT.md | 0 .github/CONTRIBUTING.md => CONTRIBUTING.md | 0 4 files changed, 60 insertions(+), 25 deletions(-) rename .github/CODE_OF_CONDUCT.md => CODE_OF_CONDUCT.md (100%) rename .github/CONTRIBUTING.md => CONTRIBUTING.md (100%) diff --git a/.env.example b/.env.example index 338611e48..95fdd93af 100644 --- a/.env.example +++ b/.env.example @@ -1,11 +1,12 @@ APP_ENV=local APP_KEY= -APP_DEBUG=false -API_DEBUG=false -REQUESTS_DEBUG=false +APP_DEBUG=true +API_DEBUG=true +REQUESTS_DEBUG=true QUERIES_DEBUG=false DEBUGBAR_ENABLED=false +TEST_RESPONSE_LOGGER_ENABLED=true APP_LOG_LEVEL=debug LOG_CHANNEL=stack @@ -16,7 +17,7 @@ API_URL=http://api.apiato.test API_PREFIX=/ HASH_ID=true -HASH_ID_KEY= +HASH_ID_KEY=apiato HASH_ID_LENGTH=16 API_RATE_LIMIT_ENABLED=true @@ -63,21 +64,27 @@ QUEUE_RETRY_AFTER=90 SESSION_COOKIE=apiato -MAIL_ENABLED=true -MAIL_DRIVER=log -MAIL_FROM_ADDRESS=test@test.test -MAIL_FROM_NAME="apiato" +MAIL_MAILER=log MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null -MAIL_TO_SUPPORT_ADDRESS=test@test.com -MAIL_TO_SUPPORT_NAME="apiato Support" +MAIL_FROM_ADDRESS=null +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= +PUSHER_APP_CLUSTER=mt1 + +MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" +MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" STRIPE_KEY= STRIPE_SECRET= @@ -85,13 +92,6 @@ STRIPE_SECRET= PAYPAL_ID= PAYPAL_SECRET= -WEPAY_CLIENT_ID= -WEPAY_CLIENT_SECRET= -WEPAY_ACCESS_TOKEN= -WEPAY_ACCOUNT_ID= -WEPAY_ENV= -WEPAY_VERSION= - AUTH_FACEBOOK_CLIENT_ID= AUTH_FACEBOOK_CLIENT_SECRET= AUTH_FACEBOOK_CLIENT_REDIRECT= diff --git a/.env.travis b/.env.travis index 2e47061c2..6ab8d91cb 100755 --- a/.env.travis +++ b/.env.travis @@ -3,9 +3,10 @@ APP_KEY= APP_DEBUG=true API_DEBUG=true -REQUESTS_DEBUG=false +REQUESTS_DEBUG=true QUERIES_DEBUG=false DEBUGBAR_ENABLED=false +TEST_RESPONSE_LOGGER_ENABLED=true APP_LOG_LEVEL=debug LOG_CHANNEL=stack @@ -63,14 +64,48 @@ QUEUE_RETRY_AFTER=90 SESSION_COOKIE=apiato -MAIL_ENABLED=true -MAIL_DRIVER=log -MAIL_FROM_ADDRESS=test@test.test -MAIL_FROM_NAME="apiato" -MAIL_HOST=mailtrap.io +MAIL_MAILER=log +MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null -MAIL_TO_SUPPORT_ADDRESS=test@test.com -MAIL_TO_SUPPORT_NAME="apiato Support" +MAIL_FROM_ADDRESS=null +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= + +PUSHER_APP_ID= +PUSHER_APP_KEY= +PUSHER_APP_SECRET= +PUSHER_APP_CLUSTER=mt1 + +MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" +MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" + +STRIPE_KEY= +STRIPE_SECRET= + +PAYPAL_ID= +PAYPAL_SECRET= + +AUTH_FACEBOOK_CLIENT_ID= +AUTH_FACEBOOK_CLIENT_SECRET= +AUTH_FACEBOOK_CLIENT_REDIRECT= + +AUTH_TWITTER_CLIENT_ID= +AUTH_TWITTER_CLIENT_SECRET= +AUTH_TWITTER_CLIENT_REDIRECT= + +AUTH_GOOGLE_CLIENT_ID= +AUTH_GOOGLE_CLIENT_SECRET= +AUTH_GOOGLE_CLIENT_REDIRECT= + +CLIENT_WEB_ADMIN_ID= +CLIENT_WEB_ADMIN_SECRET= + +CLIENT_MOBILE_ADMIN_ID= +CLIENT_MOBILE_ADMIN_SECRET= diff --git a/.github/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md similarity index 100% rename from .github/CODE_OF_CONDUCT.md rename to CODE_OF_CONDUCT.md diff --git a/.github/CONTRIBUTING.md b/CONTRIBUTING.md similarity index 100% rename from .github/CONTRIBUTING.md rename to CONTRIBUTING.md