Deploy Ruby on Rails To Production in 2019

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น •

  • @anotherytacctno2
    @anotherytacctno2 4 ปีที่แล้ว +23

    every time i pause this, the youtube controls cover up the line i'm trying to read (the one you're typing). please add some space next time.

  • @willnguyendev
    @willnguyendev 2 ปีที่แล้ว

    Well done. I have been using capistrano many years. Note that this is just for deploying to an instance. At the end, it restarts the puma or passenger as the video. So we should use a load balance to apply blue green deployment in order to have availability as well as building a deployment pipeline to do those things automatically and smoothly.

  • @1337kaas
    @1337kaas 5 ปีที่แล้ว +7

    Damn, amazing stuff. Thanks a lot for sharing. Love the way all Rails is set-up :)

  • @memoryman51
    @memoryman51 2 ปีที่แล้ว +2

    You've sold me on hatchbox.

    • @GorailsTV
      @GorailsTV  2 ปีที่แล้ว

      Haha! It's pretty time consuming to run your own server, especially when you forget all the steps after a few months.

  • @dkennell998
    @dkennell998 4 ปีที่แล้ว +3

    Hey, big fan of your windows, but a quick heads up - when you fill the entire screen with your editor/terminal and I pause the video to read what's at the bottom of the screen it's difficult to read what's the because the video control bar is in the way. Even in full screen, it rarely goes away, and if the video is paused it never goes away. Again, I love your videos but this is always a pain point, _especially_ for work in the terminal, since you're naturally always going to be typing at the bottom of the screen. A bit of margin/padding on the videos would help with this a lot, either all around the window or even only at the bottom. Thanks again for your content!

  • @Elgnonvis
    @Elgnonvis 2 ปีที่แล้ว

    Thank you for this tuto
    please yave you a tuto about rails API?

  • @fridder.
    @fridder. 3 ปีที่แล้ว +1

    Thank you Chris for all your videos -- they've been really helpful!!

    • @GorailsTV
      @GorailsTV  3 ปีที่แล้ว

      You're welcome and thanks for watching Fridder!

  • @kaysiz-zw
    @kaysiz-zw 4 ปีที่แล้ว

    There are no Phusion Passenger-served applications running whose paths begin with [$PATH]. I am getting this error. I am using a VM on azure

  • @erickzelaya3651
    @erickzelaya3651 2 ปีที่แล้ว

    I got this error => Missing `secret_key_base` for 'production' environment, set this string with `bin/rails credentials:edit` I ran the command but nothing happens, the error persist

  • @Jamie-pq9gn
    @Jamie-pq9gn 4 ปีที่แล้ว

    Oh... I encountered the same ruby version problem But i'm stupid... Not viewed error.log Always looking for the wrong answer... Thanks

  • @user-ui8my9zs7o
    @user-ui8my9zs7o 4 ปีที่แล้ว

    after i deploy everything im still getting only a Nginx 404. Am i doing anything wrong? Not seeting any errors when reloding nginx

  • @user-ui8my9zs7o
    @user-ui8my9zs7o 4 ปีที่แล้ว

    How to you handle issues with bundle install on windows to a lin server?

  • @anikettiwari6885
    @anikettiwari6885 3 ปีที่แล้ว

    @chris THe video is amazing. Can you make a video on how to deploy rails 6 application on AWS EC2 with puma and nginx

  • @muhammadahmed1890
    @muhammadahmed1890 4 ปีที่แล้ว

    how can we use rvm instead of rbenv

  • @Vaznis
    @Vaznis 4 ปีที่แล้ว

    I'm having an issue at the end of deployment. I get this error:
    00:07 deploy:assets:precompile
    01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
    01 rake aborted!
    01 URI::InvalidURIError: bad URI(is not URI?): postgresql://deploy:nicetry@127.0.0.1/my-api-prod
    Is there an issue with me using rails as an API? If so, I tried this according to a github issue I found:
    In Capfile you add these lines (but it fails on migration after getting thru precompile) -
    removed "require 'capistrano/rails'"
    add require 'capistrano/bundler'
    add require 'capistrano/rails/migrations'
    I'm wondering if there's some general knowledge I'm missing that's preventing me from having a successful deployment. Any tips would be greatly appreciated!

    • @Vaznis
      @Vaznis 4 ปีที่แล้ว

      turns out i was using special characters in my postgresql password and needed to account for that.

  • @ethangroat8333
    @ethangroat8333 5 ปีที่แล้ว

    How the heck do you get ssh for github set up?

  • @haroldofurtado
    @haroldofurtado 5 ปีที่แล้ว +1

    I got problem to make my deploy user access from ssh. I can do it normally with root. Any help?

    • @neeraj33negi
      @neeraj33negi 5 ปีที่แล้ว

      had same problem, manually created authorized_keys in ~/.ssh and added public key there

  • @AleksandarT10
    @AleksandarT10 5 ปีที่แล้ว +1

    Would be great to do more of these devops episodes :)

    • @GorailsTV
      @GorailsTV  5 ปีที่แล้ว +4

      Thanks! I plan to. I think talking about how load balancers work would be a fun one.

  • @WebintiNoCode
    @WebintiNoCode 5 ปีที่แล้ว

    Hi very nice tutorial, what about chapter 6 ? Thank you

  • @samuelkung7736
    @samuelkung7736 5 ปีที่แล้ว +1

    that seemed pretty complicated and what happens if you make a syntax error? omg...

  • @AngelGarcia-pb5nf
    @AngelGarcia-pb5nf 5 ปีที่แล้ว

    Hmm, this isn't working for me in rails 6 with webpacker. I keep getting: '** DEPLOY FAILED' and last couple of errors I'm getting are:
    ' DEBUG [75bb2c89] Compiling…
    DEBUG [75bb2c89] Compilation failed:'
    Any ideas? However, compilations works in development.

    • @GorailsTV
      @GorailsTV  5 ปีที่แล้ว

      Server might be running out of ram during compilation. Try upgrading to the next size.

  • @AtumSS
    @AtumSS 2 ปีที่แล้ว +1

    U R Dope!
    Thnx a lot.

  • @DevBishwasBh
    @DevBishwasBh 2 ปีที่แล้ว

    Can I do it without using rbenv, 'cause I don't like using it.

  • @relawandakwah7707
    @relawandakwah7707 5 ปีที่แล้ว +1

    Can you please update how to install ssl but maybe using comodo or other hahaha

  • @fabriziobertoglio7342
    @fabriziobertoglio7342 5 ปีที่แล้ว +1

    Awesome still I would avoid all this capistrano if not explicitly requested from the client

  • @rCr101990
    @rCr101990 5 ปีที่แล้ว +1

    The best!

  • @camiloalexisquezadamarin9498
    @camiloalexisquezadamarin9498 5 ปีที่แล้ว +1

    i love you so much brou

  • @mikopiko
    @mikopiko 4 ปีที่แล้ว

    Amazing

  • @goutamsingireddy2554
    @goutamsingireddy2554 5 ปีที่แล้ว

    👌

  • @arifikhsanudin9724
    @arifikhsanudin9724 4 ปีที่แล้ว

    Zoom please