How to deploy Rails to a Staging Environment

  Рет қаралды 5,303

GoRails

GoRails

Күн бұрын

Пікірлер: 11
@darkpill
@darkpill 3 жыл бұрын
I’m giving this one a thumbs up already. 👍🏻
@pk-all-day
@pk-all-day Жыл бұрын
Helpful. Thank you!
@justicerie
@justicerie 3 жыл бұрын
Super helpful video once again, thanks Chris.
@rjmccollam2626
@rjmccollam2626 3 жыл бұрын
Very very excited about this. Hoping for some Hatchbox specific examples.
@GorailsTV
@GorailsTV 3 жыл бұрын
Covered Heroku but the same applies anywhere. ❤️
@johnquarto
@johnquarto 3 жыл бұрын
I have a question which really struck me as not-optimal: around 9:15 or so you describe setting up a remote for heroku-staging since a remote of heroku is already set for production. It seems to me, if you're going to do the entire effort of setting up a staging environment, that you should redefine the heroku remote to point at your staging environment. The reason being that if you're going to use a heroku pipeline then why would you ever want to push directly to production from the CLI? All you can do is hurt yourself. You always would want to push to staging. and then in the Heroku pipeline dashboard promote from staging to production. Given that not all your projects will need pipelines, there's a real chance you will mistakenly type 'git push heroku main' and then goof up your production server. Just remove that chance altogether (or if you must, give production its own 'heroku-production' remote name as a just-in-case).
@GorailsTV
@GorailsTV 3 жыл бұрын
Yep, if you are using pipelines you can do that.
@ameft
@ameft 3 жыл бұрын
I always had a staging app on heroku which is identical as the production app (also as environment), when your approach of creating a specific staging environment in rails better?
@GorailsTV
@GorailsTV 3 жыл бұрын
You can use it to modify how the app works (like with email interceptors, different credentials, etc) if it's marked as staging instead of production.
Dynamic Select Fields in Rails using Hotwire
19:46
GoRails
Рет қаралды 25 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 37 МЛН
Deploy Ruby on Rails To Production in 2019
32:39
GoRails
Рет қаралды 43 М.
How to use Meilisearch in Rails
20:10
GoRails
Рет қаралды 7 М.
Hosting rails app from home - Michael Milewski
29:53
Ruby Australia
Рет қаралды 156
Upgrading a Rails 6.1 application to Rails 7 - clearbnb - Part 7
21:15
CJ Avilla (cjav_dev)
Рет қаралды 5 М.
Kamal 1.0
19:17
37signals
Рет қаралды 24 М.
Background Processing with Rails, Redis and Sidekiq
15:00
Decypher Media
Рет қаралды 61 М.