Top "Environment" questions

The O/S in which a process is executed, especially settings that affect the process

How to set AngularjJS base URL dynamically based on fetched environment variable?

I have a development and production environment in which my URL's differ: production: www.exmaple.com/page development: dev.environment/…

.htaccess angularjs config environment base-url
How can I detect Heroku's environment?

I have a Django webapp, and I'd like to check if it's running on the Heroku stack (for conditional enabling …

python django deployment heroku environment
Setting environment variables with puppet

I'm trying to work out the best way to set some environment variables with puppet. I could use exec and …

ruby deployment environment-variables environment puppet
How special is the global variable _G?

Excerpt from Lua 5.3 manual: _G A global variable (not a function) that holds the global environment (see §2.2). Lua itself does …

lua global-variables environment lua-table
Expand environment variable for My Documents

I know I can read environment variables like this: Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); However, it would be really helpful …

c# .net environment-variables environment special-folders
PS1 line-wrapping with colours problem

Here's my PS1 variable: PS1='\u:\W$(__git_ps1 "\e[32m\][%s]\e[0m\]")$ ' Works great for picking …

bash profile environment
Rails: Make this rake task aware that it is in the test environment

I have the following rake task defined in my lib/tasks folder: namespace :db do namespace :test do task :prepare =&…

ruby-on-rails ruby-on-rails-3 rake environment seed
How to provide URL in lower environment (DEV/QA/STG/UAT/etc.)?

I am a web designer helping my client to insert a CMS content. This CMS is host and created in …

url environment qa uat
zend framework auto switch production staging test .. etc

What do I change to switch from production to staging.. etc.. and where.. Bootstrap ? Also, Curious if anyone has configured …

zend-framework environment production staging
Manage configuration files across environments

How do you (your company) manage the config-files of the apps/systems you build? Let me tell you how we …

deployment configuration environment configuration-management