Category "environment-variables"

django.core.exceptions.ImproperlyConfigured: Set the SECRET_KEY environment variable

This project was working fine until I used environ to make SECRET_KEY and DEBUG as environment variable using environ. After I am getting this error:- The outpu

Strapi giving me DB errors in production, even though I'm using correct credentials

EDIT: I found a file at /config/database.js which is used to connect to sqlite in development. When I change the client name from sqlite to postgres, that's whe

I keep getting 'None' when getting enviroment variables

I'm trying to keep my token in an enviroment variable, so I created the file .env, and I stored the TOKEN there: TOKEN=XXX When I run my .py file, I can't get

Remix.run deployment on Vercel: process not defined error

I have deployed a remix application on Vercel. Further, I have defined some environment variables in Vercel and want to perform some checks and use env variable

How to pass arguments to program when using variable as path

I'm trying to start a program in a Start-job scriptblock using a variable for the path. Here is the line: $using:plinkdir\plink.exe -telnet $using:ip -P $using:

How to access .env variables in a Nuxt plugin?

Segment Analytics provides a snippet with a secret API key in it. In my Nuxt.js project I created a plugin called segment.js which I registered in my nuxt.confi

How do I use an env file with GitHub Actions?

I have multiple environments (dev, qa, prod) and I'm using .env files to store secrets etc... Now I'm switching to GitHub Actions, and I want to use my .env fil

Linux getenv() could not get $PS1 or $PS2

My home world is to write a shell. and I must use $PS2. but when I write a code like this: char *ENV_ps2; ENV_ps2 = getenv("PS2"); I just found ENV_ps2 was

Firebase denies access when using env file

I am trying to create a react-app that works with firebase. So, normally the credentials look like this: const firebaseConfig = { apiKey: ..., authDomai

How to Define Github Branch Specific Secret or an Alternative?

For example, travis-ci.com allows the user to define an env variable which is bound to a certain branch. Whereas Github does allow you to define secret env vari

Can one Windows environment variable refer to another windows environment variable?

I want to support two versions of a Windows app easily. It uses environment variables to configure it. I'd like to set up a top level ENV, that can be changed t

Setting environment variables on macOS Catalina

In which file should I set environment variables on macOS Catalina? I have already tried the .bash_profile file but it does't work.

How do i use azure app service env variables inside my application?

i'm trying to setup my project in azure. For this i created an app service and under settings/configuration i added some "Application Settings", which in my und

Delete env variable on mac

enter image description hereI need help, I don't arrive to delete env variable with unset. I want to delete conda env variable: I use unset: I look to env var

Environment variables are getting fetched after build deploy to S3 is Vuejs

I have used Github Actions to build and deploy the Vue app to the S3 bucket. The problem is, the build script cannot fetch ENV from the .env or .env.production

In powershell, how can I define all env vars for the next command similar to python's Popen abilities?

In powershell, how can I... explicitly define all the env vars for the next command? I don't want any system env vars if possible, After this command runs I don

aws eb deploy doesn't load environment variables

I'm deploying symfony project via eb deploy to ec2 instance (aws linux 2). Post deploy migrations scripts works well, but then I try to run symfony command with

java.lang.InternalError: platform encoding not initialized when running EXE4J .exe w/ Java14 on PATH

So this error is a weird one... I'm using EXE4J 6 to build a .exe file for my JavaFX Application. This has worked with no issues through Java version 13.0.1. I

trying to make django load environment vars from a .env.local file using django-environ from within a venv

I keep getting this traceback (pythonApp) D:\task_trackv2>python manage.py makemigrations D:\task_trackv2\apps_config\settings.py D:\pythonApp\lib\site-pack

Load a .env file with PHP

I'm currently coding on a pure PHP project and I need to load an .env file to get some variables. After a bit of searching I turned to the vlucas/phpdotenv plug