Linux Servers on VirtualBox
Today we're going to show you how to set up a Linux server running as a virtual machine on your development system. (If you haven't worked with virtual machines before, think of it as a computer within a computer.) This is a great way to set up a sandbox where you can try out deploying your applications.Viewed
App Deployment Accounts
When working on the public server where your users will interact with your app, you need to be careful. If you accidentally alter the wrong setting, service, or file, your app could go down. That's why it's considered best practice for your developer account to have limited access, and to create a separate deployment account with full control over the system. You can use the deployment account to set up your app and deploy new versions, and use your development account for day-to-day maintenance tasks, secure in the knowledge that making a mistake won't break everything.Viewed
Install Rails in Production
Your production server is the place the public will interact with your app. Before you can deploy any apps there, you're going to need Rails installed on the server. This workshop will show you how.Viewed
Rails and PostgreSQL in Production
Rails can easily be configured to work with a wide variety of other databases. One of the most popular for production use is PostgreSQL. In this workshop, we're going to cover using Postgres with your Rails app.Viewed
Rails Servers with Unicorn and Nginx
In this workshop, we're going to show you how to set up a "reverse proxy" between your Rails app and the Internet at large. We've going to use a high-performance web server called Nginx as our reverse proxy. Nginx will also serve the static files in our app's "public/" directory, so Rails doesn't have to. We'll also set up Unicorn, an HTTP server that will manage connections to your actual Rails app. Unicorn is good for your site's stability and speed.Viewed
Deployment with Capistrano
Deploying a web app to a production server involves steps that you're going to need to repeat every time you release a new version, such as pulling the changes from Git and restarting your web server. Doing it manually may not seem too bad at first, but over time the potential for mistakes adds up. So in this course, we're going to show you how to automate deploys to make them fast, easy, and safe. We'll be using the Ruby community's most popular deployment framework, Capistrano.
Deploying Rails Apps
You've learned to create a Rails app on your development machine. Now you need to make it available for others to use. For that, you'll need to deploy it to a production server. By the end of this track, you'll have learned how to install Ruby and Rails on a server, along with database software and all the other components your app needs to run. We'll show you how to do it manually first, to build your understanding of how everything works together. Then we'll show you how to automate the process, so you can spend your time making your app great!
An entry-level salary for the technologies covered in this track is about $80,000 / yr on average.
Some companies that use these technologies regularly include: Treehouse, Twitter, GitHub, Shopify, Airbnb, Groupon, Square, and Hulu