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
0 votes
1 answer
26 views

What is the best approach to handle class instances in django application in a production environment?

I would like to consider 2 approaches. First, you could create a class and its instance in a class and inside views import the instance and call its methods. Second, you import the class and create ...
0 votes
1 answer
41 views

Internal server error in server works in localhost

Below code is throwing 500 Internal server error only in server but works in local host. Any input is appreciated. Controller endpoint: @ApiOperation(value = "This API gets info from external ...
0 votes
0 answers
26 views

Amplify Cognito : How to hide configuration variables in production environment

I use AWS Cognito to authenticate for a React/NodeJs application, it works well, but now I'm trying to push it into production environment I usually use backend callbacks to protect my environment ...
3 votes
3 answers
6k views

How to resolve 404 error in a deployed react- vite app?

I have a production-ready React app built with vite. I have run the build process and uploaded the contents of the dist file within the subdirectory it is supposed to be in. When i visit the URL it ...
0 votes
1 answer
39 views

tailwind css not working on production in vercel

I made portfolio website using nextjs my website is working fine in localhost but on production components where i used tailwind css are spreading or are not intact. for e.g here is my code for nav ...
-2 votes
1 answer
37 views

Django Media Files Not Found (404) on Render Deployment

I'm having trouble serving media files on my Django application deployed on Render. The media files are being created and stored (I think?) correctly on the server, but accessing them through the ...
0 votes
0 answers
8 views

Flutter-Firebase Production Ready Apps rules [duplicate]

So i am making a Flutter application which is going to be in production so is there anything to be checked while creating bundle for uploading it in playstore, In my case i am integrating Firebase ...
0 votes
1 answer
41 views

Django Media Files Not Found (404) on Render Deploy

I'm having trouble serving media files on my Django application deployed on Render. The media files are being created and stored (I think) correctly on the server, but accessing them through the ...
1 vote
2 answers
89 views

Why is my newly pushed Fly.io Rails7.0.8 app not finding my image & js assets?

I've launched and deployed my (very simple toy) app to Fly.io and it runs but as per console is getting a 404 response trying to load an image asset (there's only one!) and my Stimulus JS controller. ...
0 votes
1 answer
58 views

Unicorn 500 code app error: undefined method `=~' for [...]:Array (NoMethodError)

Once again production deploying a rails app which is exciting. This time a Rails 7.1 app following the same guide I have before by Ralf Ebert Ruby on Rails – Deployment Tutorial. My setup is all good ...
0 votes
2 answers
1k views

Laravel - what do I have to upload to production?

I have my site online and am developing locally. Once the changes are made, I upload the changed files to the production site. This includes obviously controllers, routes file, views, providers, ...
2 votes
2 answers
10k views

NextJS - Application Error: A client side exception has occurred

I've never received an error like this before, I have a file that defines functions for making API calls, currently I'm reading the endpoint base URLs from the environment variables: /** * Prepended ...
0 votes
0 answers
53 views

I have an error that I don't understand in flutter web deployed in production

I did not know why the error started, I had already deployed to production and it worked fine. The idea is that it enters the URL, once there it accepts the permissions for notifications, then it is ...
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 ...
2 votes
2 answers
7k views

Symfony Prod environment gives a 500 internal server erro

My project works just fine in it's dev environment. However, when I attempt to access the prod version that is without the *_dev.php url prefixes, I get redirected to the login page (as it should) and ...

15 30 50 per page
1
2 3 4 5
125