简体   繁体   中英

Staging and production environment on heroku

I want to create staging environment on heroku of an existing app. I want to know two things

1) Is it using same database of production or not? If yes then either it requires some settings or not?

2) Is the url's of both staging and production environments change or not?

Please don't give links

  1. No. Two different databases.

  2. Yes it will be different.

staging and production are normally on two different hosts, with two different databases, two different url's.

  1. It is a separate database. I cloned the one from production to get a good simulation.
  2. Not sure if I understand what you mean. But if the question is whether staging and production have the same URL then no. Staging usually looks like "prod-url"-staging

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM