Category "environment-variables"

Test process.env with Jest

I have an application that depends on environmental variables like: const APP_PORT = process.env.APP_PORT || 8080; And I would like to test that for example: A

How do I convert the google private key for the google calendar api into a env file?

I'm trying to use JWT to access the google calendar api. I'm using Node to make my call. How can I get this line of JSON into my .env file: "private_key": "--

Exporting environment variables from one stage to the next in GitLab CI

Is there a way to export environment variables from one stage to the next in GitLab CI? I'm looking for something similar to the job artifacts feature, only for

How to set custom environment variables in tomcat?

I have few key- value pair variables in my program which is hard coded now. String pswd = StringUtils.defaultString(System.getProperty("KEY_STORE_PASSWORD"), "

Cloud Build env variables not passed to Django app on GAE

I have a Django app running on Google AppEngine Standard environment. I've set up a cloud build trigger from my master branch in Github to run the following ste

environment variable not working in react firebase config file

I am making a react app with firebase and I want to use environment variables for the firebase config. this is the firebase config in my react apps src folder i

How do I run a python file in Atom? Conda env?

I don't quite know what to do. I use VSCode and Jupyter Notebook and conda env. I just downloaded Atom and it keeps saying no kernal for grammar python. I have

Retrieving a CI variable from Gitlab project and use it within Dockerfile

I have a CI variable that I would like to use within my docker file. I have tried to include it such as ENV TESTING_UNIT=$TESTING_ID

Environment Variable for debugging in Visual Studio 2022

I have a problem in Environment Variable in Visual studio 2022. When I use Development there is no problem and it takes development AppSettings, But when I rem

.bash_profile does not display echo information after update

I am setting up environment variables, and after saving in .bash_profile, I gave this command: echo "$SENDGRID_USERNAME" After doing this, bash returned a b

Heroku error when adding an Environment Variable that is a Comma Separated Value with Spaces

Here is a variable that is defined in my local .env file in my app. I created it to be a comma separated value, like so: STATE_KEYWORDS=georgia,new york,new j

Launch Pycharm from command line (terminal)

I want to try out PyCharm for sage mathematics development. Normally I run eclipse to do sage development, but now I want to try it with PyCharm. To launch ec

How to set env variables using ASDF in a Rails project

Rbenv uses rbenv-vars to specify per-application environment variables in Rails. Most version managers read the .env file in every project for the environment

difference between http_proxy and https_proxy

I want to understand the difference between http_proxy and https_proxy environment variables. So my understanding is that http_proxy will be used if I(as clien

How to set environment variables in GitHub actions using python

I want to execute a python script to set some environment variables in GitHub actions. I want to use those environment variables later in my GitHub actions step

How to programmatically derive Windows Downloads folder "%USERPROFILE%/Downloads"?

In .NET, we can retrieve the paths to 'special folders', like Documents / Desktop etc. Today I tried to find a way to get the path to the 'Downloads' folder, bu

Flutter testing error: NotInitializedError which involves environment variables (.env)

To start, I did review this but to no avail. How to access Flutter environment variables from tests? import 'package:flutter/widgets.dart'; import 'package:flut

TOX can't find the browser binary

I met a strange issue - I'm running Selenium tests with Tox on local machine (Windows 10) and it can't find the browser binary unless I pass all env variables t