Questions tagged [environments]

An Environment consist of the server, operating system, settings and software that a program runs in. It can also refer to a software development setup where software is created.

Execution Environment

Execution environments are generally grouped into three major categories:

Software Development

  • A is an integrated set of programming tools such as compilers, usually centered around a text editor.
  • A is an environment set up to compile groups of code together in a controlled environment with specific settings to product a software product.
70 questions
1
vote
0 answers

Camel swagger-ui disable on production

I am using this swagger in my project. I was wondering if anyone knows a way to disable and enable swagger in different environments?
Manwlis.e
  • 182
  • 1
  • 2
  • 10
1
vote
0 answers

Error in as.environment(pos) : using 'as.environment(NULL)' is defunct

Can someone explain to me what this error means? I'm new to programming so if you can explain it in the most elementary cs terms I would very much appreciate it. I get this error message from R Studio when trying to process other code from time to…
1
vote
1 answer

Kubernetes - Creating a specific namespace for "services"

In our micro-service architecture we have a number of stateful services: MongoDB MySQL Redis ElasicSearch We also have two Kubernetes namespaces we use for our different environments: Staging Production We run each of the above stateful services…
AndrewMcLagan
  • 13,459
  • 23
  • 91
  • 158
1
vote
0 answers

How do I deal with different keyspace definitions between environments?

i have a code-related question for cassandra. in dev/qa, we have a 1-node cassandra cluster in stage/prod environments, we have multiple-nodes in a cluster. same cluster NAME, same keyspace name, but different replication factors needed. how does…
lrp_data
  • 11
  • 2
1
vote
1 answer

node.js docker image for all environments - including production

Currently we are using node:4.2.3 (LTS) docker image which is around 642 MB in size and node_modules around 140 MB in total ~800MB to build our web application docker image. Publishing these images to our private registry and pulling them all…
pktippa
  • 76
  • 3
  • 8
1
vote
0 answers

asp.net transform launchSettings.json by build

I am working on a prototype for an asp.net 5 site and I see that Microsoft pushes us to use the Hosting:Environment environment variable to determine what environment (Development, Stage, Production) the application is in as well as other…
user1041169
  • 639
  • 2
  • 9
  • 18
1
vote
1 answer

Creating environment datatype in Haskell

In order to obtain honors credit for a course, I have been tasked with recreating an assignment we completed in ML (using the SMLNJ implementation), but using haskell instead. The goal here is to create a datatype environment that binds values to…
smallmax55
  • 21
  • 1
1
vote
1 answer

How to handle AndroidManifest file for different environments

We have three environments for our app - DEV, QA and PROD. Now we have created three AndroidManifest files for those three envs(like AndroidManifest_QA.xml), and we have to change the file name EVERY TIME when we want to release a new version, which…
Ferde
  • 75
  • 2
  • 8
1
vote
1 answer

EmberJS, How to manage different "config variables" for different "environments"

There are several of questions under the emberjs tag that talk about how to manage different environments but all of them are only applying for very concrete scenarios. I'm looking for a general solution of how to set different config variables for…
fguillen
  • 36,125
  • 23
  • 149
  • 210
1
vote
3 answers

Different environments included in Ruby on Rails

Can someone explain to me what the Rails environments are and what they do? I have tried researching myself, but could not find anything. From what I gather, the environments are: Development Productions Test
1
vote
1 answer

Codeception environment configuration not working

Codeception: Configuration file(s) placed in tests/_envs are not working. I am trying to run my acceptance tests in multiple environments (ex. dev, qa, staging, prod). So I have setup dev.yml, qa.yml, staging.yml and prod.yml files under tests/_env…
Faiyaz Haider
  • 98
  • 1
  • 11
1
vote
1 answer

Enabling Symfony's timeline on staging environment

At the moment I'm debugging an issue with our Symfony 2 application which doesn't occur on the development environment, but does on the staging and production environments. To assist my debugging, I'd like to enable Symfony's profiler. Specifically…
John Dorean
  • 3,744
  • 9
  • 51
  • 82
1
vote
1 answer

Why does as.formula only work inside lm() inside with()?

Working with R, this is a real WTF: R> f_string <- 'Sepal.Length ~ Sepal.Width' R> l <- with(iris, lm(as.formula(f_string))) # works fine R> f_formula <- as.formula(f_string) R> l <- with(iris, lm(f_formula)) Error in eval(expr, envir, enclos) :…
naught101
  • 18,687
  • 19
  • 90
  • 138
1
vote
1 answer

Rails asset:precompile on dev machine: How to handle assets group?

Since my production machine is somewhat limited (raspberry pi), I want to install as few gems as possible in my production machine. In order to reduce the dependencies, I want to do the precompiling of my assets on my dev machine and deploy them to…
phortx
  • 849
  • 5
  • 21
1
vote
3 answers

Setting up development server references

What would you guys recommend as good references for setting up a testing server (xampp on xp pro), a staging server and a production server while also having svn? I'm a noob to "hardcore" development but want to start off on the right foot and set…
teamcrisis
  • 709
  • 1
  • 6
  • 14