Questions tagged [production]

"Production" is commonly referred to as the stage in software lifecycle where it's available to be used by the intended end user.

1435 questions
270
votes
2 answers

WARNING in budgets, maximum exceeded for initial

When build my angular 7 project with --prod, i have a warning in budgets. I have a angular 7 project, i want to build it, but i have a warning: WARNING in budgets, maximum exceeded for initial. Budget 2 MB was exceeded by 1.77 MB these are chunk…
Masoud Bimar
  • 5,860
  • 4
  • 22
  • 29
198
votes
17 answers

How do you deploy Angular apps?

How do you deploy Angular apps once they reach the production phase? All the guides I've seen so far (even on angular.io) are counting on a lite-server for serving and browserSync to reflect changes - but when you finish with development, how can…
Joseph Girgis
  • 2,775
  • 4
  • 16
  • 20
160
votes
9 answers

How to create .ipa file using Xcode?

Please tell me the complete procedure to build my app & use it on a real iPhone.
Surjit Joshi
  • 2,719
  • 2
  • 16
  • 20
159
votes
6 answers

How to check if Angular application running in Production or Development mode

This seems an easy one, but I couldn't find any solution. So, how do I check if my app is running in production mode or dev mode?
maxbellec
  • 12,129
  • 9
  • 30
  • 40
139
votes
10 answers

How to scale Docker containers in production

So I recently discovered this awesome tool, and it says Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. The same container that a developer builds and tests on a laptop…
James Lin
  • 20,109
  • 28
  • 106
  • 192
124
votes
4 answers

Golang production web application configuration

For those of you running Go backends in production: What is your stack / configuration for running a Go web application? I haven't seen much on this topic besides people using the standard library net/http package to keep a server running. I read…
Chaseph
  • 1,843
  • 3
  • 14
  • 20
120
votes
4 answers

Create an index on a huge MySQL production table without table locking

I need to create an index on a ~5M rows MySQL table. It is a production table, and I fear a complete block of everything if I run a CREATE INDEX statement... Is there a way to create that index without blocking inserts and selects? Just wondering I…
n0cturnal
  • 1,345
  • 2
  • 9
  • 7
117
votes
4 answers

Django error - matching query does not exist

I finally released my project to the production level and suddenly I have some issues I never had to deal with in the development phase. When the users posts some actions, I sometimes get the following error. Traceback (most recent call last): …
Chris P
  • 1,249
  • 2
  • 10
  • 9
109
votes
2 answers

Git production/staging server workflow

Currently my website (production server) already have a lot of code in it. And now I want to start using Git for my projects and setup a staging server for my team. Can anybody give me any advise? Here is the picture in my mind: Production …
kayue
  • 2,426
  • 3
  • 19
  • 16
83
votes
4 answers

What's the risk of deploying debug symbols (pdb file) in a production environment?

I have an application that logs exception strack traces and I wanted those stack traces to include file names and line numbers when deployed in production. I figured out how to deploy the debug symbols w/ the assembly, but in the process of…
Matt
  • 4,792
  • 4
  • 30
  • 53
77
votes
11 answers

Bad idea to leave "console.log()" calls in your production JavaScript code?

I have a bunch of console.log() calls in my JavaScript. Should I comment them out before I deploy to production? I'd like to just leave them there, so I don't have to go to the trouble of re-adding the comments later on if I need to do any more…
Charlie Kotter
  • 1,759
  • 3
  • 15
  • 13
49
votes
3 answers

How to run build version using create-react-app?

So, I developed a small React application using create-react-app. (I have always made applications from scratch.) Then, after I was kind of happy with it, I decided to run npm run build to make an optimized production build. Can someone please tell…
Raj
  • 2,150
  • 2
  • 22
  • 43
49
votes
2 answers

Logging in Ruby on Rails in Production Mode

I would like to view some variables in controller, it tried the following: Rails.logger.debug "Year: #{Time.now.year}" puts "Year: #{Time.now.year}, Month: #{@month}" where can I see the output for Logger or Puts in production mode? Do I need so…
user1135541
  • 1,683
  • 2
  • 17
  • 35
46
votes
3 answers

How to use a library from a CDN in a Webpack project in production

I'd like to use react.min.js from a CDN in production (e.g. https://unpkg.com/react@15.3.1/dist/react.min.js) What is the best way to get Webpack to transform my import React from 'react' statements into const React = window.React instead of…
Andy
  • 6,192
  • 4
  • 43
  • 56
44
votes
3 answers

Accessing Meteor production database

To check out what's in the (production) database for blah.meteor.com I thought we would just do: meteor mongo --url http://blah.meteor.com/ But instead I get a…
genkiro
  • 561
  • 1
  • 6
  • 12
1
2 3
95 96