
Learn to install Ruby on Rails on Windows, set up Git and Heroku, and work through common setup challenges for Windows development.
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
Use the Windows rails installer to set up Ruby on Rails, but first install Node.js with the latest version, ensuring a clean restart before proceeding to version control.
Install Git Bash on Windows to access a unix-like terminal for using Git with Rails, enabling path access and OpenSSL support for secure version control.
Generate an ssh key with ssh-keygen and save it in the hidden .ssh directory. Copy the public key id_rsa.pub to GitHub and Heroku to securely identify yourself when pushing code.
Install Rails on Windows using Rails installer, selecting Ruby 2.3 with Rails 5.1 and downloading the setup file. Add Git and Node to the path and note disk space.
RailsInstaller.org is down, you can find the installer here:
https://web.archive.org/web/20210306035811/http://railsinstaller.org/en
Install and verify Ruby on Rails on Windows by restarting Bash, then create a new Rails project with Rails new and run bundle install.
Initialize and configure git for your Rails project by setting your name and email, adding files, committing changes, and preparing to push to GitHub.
Set up git and GitHub on Windows by creating a repository, configuring SSH keys, committing changes, and pushing code, then prep for deployment with the Heroku tool belt.
Install the Heroku toolbelt on Windows to deploy Ruby on Rails apps from the command line. Use Heroku's free tier for learning and simple hosting with git and node.
Launch a Rails server on Windows, verify it runs at localhost:3000, generate Home#index, view Hello world, and test /home/index as you plan to set the root route later.
Change the root route by editing config routes to map the home index at localhost:3000, then reload to confirm it loads without errors; bootstrap installation and heroku deployment follow.
Install the bootstrap css framework in a Ruby on Rails project by adding the bootstrap gem, updating assets and javascript, running bundle install, and restarting the server to apply styling.
Explore bootstrap in a Rails app by wrapping content in a container, adding a jumbotron on the index page, and using bootstrap buttons to practice quick styling with yield-based layouts.
Create a dark bootstrap navbar as a partial and render it across all pages using embedded ruby, then customize links and styling to suit the site.
Learn to create a second Rails page by manually adding a view (about.html.erb), a controller action, and a route, and compare manual setup with generators.
Create navigation between two pages using embedded ruby links with link_to and home_about_path and root_path, so pages update automatically when routes change.
Host rails and other apps on Heroku’s free plan, sign up easily, and push your code to deploy; scale with the dashboard as traffic grows.
Modify the gemfile to use PostgreSQL in production and sqlite3 only in development, add pg and Rails 12 factor to production, then bundle install --without production and push to Heroku.
Push development code to Heroku, manage the master branch, and launch a live production app on the free plan while handling common errors and considering custom domains.
Learn to set up a custom domain for a Heroku app: buy a domain from registrars like Namecheap or GoDaddy, add it, and point dns to Heroku, enabling propagation.
Explore a lifetime coding membership and save $200 on 60+ courses, books, and certificates, with 30-day money-back guarantee and ongoing support.
Have you ever tried to install Ruby on Rails on a Windows computer? Tough, isn't it!!
Most Ruby on Rails courses assume you already have Rails installed. Chances are, that's not the case! And Rails is one of the harder web frameworks to install; it's easy to get messed up!
In this course I'll walk you through it step by step.
We'll install all the software you need such as Node.js, Git, Git Bash, and the Heroku Toolbelt.
I'll also show you how to set up version control, and how to push your version control up to Github.
Finally, I'll walk you through deploying your app on Heroku, a professional web hosting service (we'll use the free version).
If you've ever tried to install Rails and failed, this is the course for you!
See you on the inside!
-John Elder