Find online courses made by experts from around the world.
Take your courses with you and learn anywhere, anytime.
Learn and practice real-world skills and achieve your goals.
Many startup non-technical founders are learning how to code their prototypes to get some quick feedback from potential users and pitch investors.
However... once you learn how to code, deploying your app can be a challenge. You need to know how to configure web servers, database servers, automate installation of gems, git repositories synchronization, etc... all just to have your app up and running on the web.
Luckily we have providers like Heroku that make it extremely easy to get your app deployed in minutes, without configuring any servers at all. These are known as Platform as a Service (PaaS) providers.
The basic deployment of a Rails app to Heroku is simple and quick, and most "learn how to code" courses cover it in just a few minutes. But if you chose to stay on Heroku for the long term, you should spend some time understanding how it works and how to optimize your app to get the most out of the resources provided by the platform and how it compares to going directly to cloud providers like Amazon or Rackspace.
This course covers all you need to know to get your first basic deployment up and how to gradually expand features and functionalities with the help of ruby gems and Heroku third-party add-ons.
By getting to know the platform you will:
Not for you? No problem.
30 day money back guarantee.
Learn on the go.
Desktop, iOS and Android.
Certificate of completion.
|Section 1: The Basics|
We discuss how the course is structured, what you will learn and the 'learn by doing' methodology for the rest of the sessions.
Make sure you have these ready these before you dive into the course
- Ruby on Rails Tutorial - by Michael Hartl
This is our first technical session, covering the basic topics on how to start and deploy a basic Ruby on Rails app to Heroku.
We will be developing a new Ruby on Rails 4 application from scratch to use it as an example for deployment to Heroku and constant development of new features along with continuous deployment.
- Create an account and an application on Heroku
- Ruby on Rails Tutorial - by Michael Hartl
We start this session with our first app already deployed to Heroku. Now we continue adding features to the application so we get used to pushing new code using git.
Also we introduce the concept of adding team members to the application so more than one developer can push code to the repository on Heroku.
We will work with github to create a repository for our project, this will help us collaborate with our team members, work on different branches and merge the code before we are ready to push it to Heroku for deployment.
- Add more developers to you Heroku application
- Continue to deploy changes to your application
- Run database migrations on Heroku to add more fields and tables to our database
- Learn about the Add-ons market on Heroku
- Have access to the live logs and search for a specific keyword in them
- Work with Heroku's dev documentation to install add-ons that require some setup and config files
Getting multiple concurrent web processes out of each dynoPreview
Upgrading the Database for more capacity
|Section 2: Getting ready for Production|
Refactoring for faster response
Config Variables for Sensitive Information
Heroku's Read-Only File System and Dyno Isolation
File storage using amazon S3 or any other provider
Generate Thumbnails for your Carrierwave Uploads
Adding some design with the Rails Asset Pipeline and Bootstrap
Move static assets to cloud storage with Asset Sync
Basic Domain Names configuration for your apps
PointDNS Add-On for easier domain settings
Set good looking Error and Maintenance pages
|Section 3: Optimizations and Tips|
Identifying bottlenecks at scalePreview
Implement Memcachier to support more trafficPreview
Load testing your app
Cache pages that receive params
Production databases and pg:extras
Run queries on your database and set replication
Improving query times on production databases
Super dynos (2x), deep view on how memory is allocated per dyno
Console timeouts and connectivity issuesPreview
Manage multiple heroku accounts from the command line with heroku:accounts
Lead Platform Architect at the startup that powers photo manipulation mobile apps such as The Walking Dead Dead Yourself app, which has been the #1 app on the iTunes AppStore and has surpassed 8 million downloads. The platform runs completely on Heroku and has been able to support intense traffic and load spikes.
Over the last 15 years I have worked on a variety of projects as a consultant, developing web applications for large companies and small startups. I also have developed several personal projects and prototypes for startup ideas of my own, most of which I host on Heroku as well.
I have been developing dynamic database driven web applications since 1999, initially with PHP & MySQL and since 2006 started working with Ruby On Rails.