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.
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!
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
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!
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.
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.
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.
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!
You've sold me on hatchbox.
Haha! It's pretty time consuming to run your own server, especially when you forget all the steps after a few months.
Damn, amazing stuff. Thanks a lot for sharing. Love the way all Rails is set-up :)
Thank you Chris for all your videos -- they've been really helpful!!
You're welcome and thanks for watching Fridder!
Thank you for this tuto
please yave you a tuto about rails API?
Oh... I encountered the same ruby version problem But i'm stupid... Not viewed error.log Always looking for the wrong answer... Thanks
Would be great to do more of these devops episodes :)
Thanks! I plan to. I think talking about how load balancers work would be a fun one.
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
@chris THe video is amazing. Can you make a video on how to deploy rails 6 application on AWS EC2 with puma and nginx
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
U R Dope!
Thnx a lot.
after i deploy everything im still getting only a Nginx 404. Am i doing anything wrong? Not seeting any errors when reloding nginx
How to you handle issues with bundle install on windows to a lin server?
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!
turns out i was using special characters in my postgresql password and needed to account for that.
I got problem to make my deploy user access from ssh. I can do it normally with root. Any help?
had same problem, manually created authorized_keys in ~/.ssh and added public key there
how can we use rvm instead of rbenv
that seemed pretty complicated and what happens if you make a syntax error? omg...
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.
Server might be running out of ram during compilation. Try upgrading to the next size.
How the heck do you get ssh for github set up?
Hi very nice tutorial, what about chapter 6 ? Thank you
Awesome still I would avoid all this capistrano if not explicitly requested from the client
Capistrano is so bad
The best!
Amazing
Can you please update how to install ssl but maybe using comodo or other hahaha
Can I do it without using rbenv, 'cause I don't like using it.
i love you so much brou
👌
Zoom please