DEV Community

Jasterix
Jasterix

Posted on • Edited on

4

The Development vs Production Environments

One of the disadvantages to doing a coding bootcamp is that you don't get much experience writing code in a production environment. This may be why I've had such a hard time moving my project backends onto Heroku.

The process introduced relatively foreign concepts, such as working with a production environment.

What's the difference?

The development environment is your local computer, while the production environment is the live product customers or visitors might interact with.

Since it can be hard to remember new technical vocabulary, I've used the following mnemonic:

  • development –> developer coding on their computer
  • production –> product i.e. the final product

Why do these terms matter?

If you're still coding mostly on your computer, with no intention of shipping your product, exploring the production environment isn't as urgent.

But hosting my backend with Heroku forced me to create the production version of the database and to update my database.yml file with the proper settings.

While making the changes themselves weren't difficult, knowing that and why I to create them took a couple of hours to understand. To keep this blog to 1-2 min, I will cover those changes in another blog.

This video covers the two above, as well as, some additional environments you will come across.

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay