Skip to main content

Questions tagged [production-environment]

A production environment is one in that is exposed to its intended audience in a real-world situation.

production-environment
273 votes
12 answers
114k views

Separate dev and prod Firebase environment

I am considering using Firebase as MBaaS, however I couldn't find any reliable solution to the following problem: I would like to set up two separate Firebase environments, one for development and one ...
racs's user avatar
  • 4,094
206 votes
7 answers
81k views

config.assets.compile=true in Rails production, why not?

The default Rails app installed by rails new has config.assets.compile = false in production. And the ordinary way to do things is to run rake assets:precompile before deploying your app, to make ...
jrochkind's user avatar
  • 23.2k
196 votes
15 answers
211k views

Change a Rails application to production

How can I change my Rails application to run in production mode? Is there a config file, environment.rb for example, to do that?
Adler Medrado 和尊's user avatar
191 votes
10 answers
153k views

How do I prevent node.js from crashing? try-catch doesn't work

From my experience, a php server would throw an exception to the log or to the server end, but node.js just simply crashes. Surrounding my code with a try-catch doesn't work either since everything is ...
TiansHUo's user avatar
  • 8,629
187 votes
6 answers
75k views

Ruby on Rails production log rotation

What is the best way to enable log rotation on a Ruby on Rails production app? Is it by using logrotate on the hosting server or is there a set of options to use when initializing logger from the app?
cnikolaou's user avatar
  • 3,932
159 votes
6 answers
73k views

Canary release strategy vs. Blue/Green

My understanding of a canary release is that it's a partial release to a subset of production nodes with sticky sessions turned on. That way you can control and minimize the number of users/customers ...
IAmYourFaja's user avatar
  • 56.5k
122 votes
5 answers
26k views

Webrick as production server vs. Thin or Unicorn?

It seems like it's taken for granted that you must not use Webrick as production server, but I can't really find anywhere mentioning why. The consensus seems to be: "Webrick is ok for development, but ...
Vlad's user avatar
  • 8,128
103 votes
1 answer
65k views

How to configure MongoDB Java driver MongoOptions for production use?

I've been searching the web looking for best practices for configuring MongoOptions for the MongoDB Java driver and I haven't come up with much other than the API. This search started after I ran into ...
Dan Polites's user avatar
  • 6,780
98 votes
10 answers
54k views

SQLite as a production database for a low-traffic site

I'm considering using SQLite as a production database for a site that would receive perhaps 20 simultaneous users, but with the potential for a peak that could be many multiples of that (since the ...
carson welsh's user avatar
  • 1,648
98 votes
2 answers
51k views

What is the difference between production and development mode in Angular2?

For some reason, I have to run my app in production mode. What is the difference between those modes?
Rhushikesh's user avatar
  • 3,660
96 votes
6 answers
71k views

How to tell if rails is in production?

I used script/server -e production to start rails in production mode. It did and I got no errors. However how do I tell if it is in production mode? I tried a non-existent route, and I got a similar ...
sent-hil's user avatar
  • 19.1k
83 votes
2 answers
14k views

Performance impact of using css / javascript source-maps in production?

Should source-maps be used in production environment? Do they provide any benefits other than debugging? Do they impact app load time due to the additional server round-trips? Are browsers smart ...
Ray Shan's user avatar
  • 1,675
75 votes
6 answers
62k views

Deploying a production Node.js server [closed]

I've written a Node.js app, I'm looking to get it running on one of our production machines. This seems like a pretty common request yet I can't find an adequate solution. Is there not established ...
David Chouinard's user avatar
71 votes
4 answers
28k views

disabling Devise registration for production environment only

I am launching a beta site with a select group of users. I want to disable registration in the production environment only, and only for a short period of time (i.e. I don't want to nuke my ...
panzhuli's user avatar
  • 2,930
69 votes
5 answers
86k views

How to run production site after build vue cli

I'm using VueCLI 2 and build as production. THe build.js is built and compiled into 200KB. When I re-run the server as development, it loaded 3MB. I'm sure the build.js inside dist folder is 200KB. I ...
Abel's user avatar
  • 1,614

15 30 50 per page
1
2 3 4 5
125