
Outline the setup for rails development, from installing node and sublime text to using git bash and the heroku toolbar for deployment.
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/
Uninstall any existing node.js to ensure a clean slate, then download and install the latest stable LTS version from nodejs.org, and restart your computer after installation.
Install Sublime Text or your editor of choice and the Git Bash terminal, then set defaults and SSH keys for secure version control with GitHub and deployment to Heroku.
Generate an ssh key in the git bash terminal, create a hidden .ssh directory, save the key pair, and prepare for pushing code to GitHub and Heroku.
Install the Heroku toolbelt to connect your terminal to Heroku for deploying Ruby on Rails apps, install Mac, Linux, or Windows version, set the path, and verify with heroku --version.
Learn to install Ruby on Rails using Rails installer, choose a Ruby version (2.2 or 2.3) and Rails version (5.0–5.1), and set path so you can run Rails from anywhere.
RailsInstaller.org is down, you can find the installer here:
https://web.archive.org/web/20210306035811/http://railsinstaller.org/en
Create a test Ruby on Rails project to verify installation, install bundler, resolve sequel light errors by pinning a compatible version in the gem file, then bundle install.
Create a new Rails project named to do, install gems with bundle install, and run the Rails server to view the app locally at localhost:3000.
Set up git version control, configure your global username and email, initialize a repository, make the initial commit, and push to GitHub.
learn how to set up a GitHub account, create public repositories, and securely connect with SSH keys, then push code and update README files for a Rails to-do app.
Learn how Rails scaffold quickly builds a to-do list app by generating a database with description and completed fields, along with automated views, migrations, and routes.
Create and push a Rails database migration to generate a lists table with description and a default false completed flag, then review the resulting schema and timestamps.
Practice scaffolding and migrations to create a working Rails app, explore routes and views, and perform crud operations on lists in a live development server.
Configure the root route to the lists index in a Rails app, mapping /lists to the lists controller index action so the home page displays the lists.
Explore how Rails views render the to-do list app’s index, show, and edit pages, iterate through database items, and use embedded Ruby. Use partials and forms, scaffolded, for UI.
Learn to integrate Bootstrap into a Ruby on Rails app by adding the bootstrap gem, updating assets, and restarting the server to apply Bootstrap styles and fonts.
Learn bootstrap basics by applying bootstrap classes to your Rails to-do list app, wrap content in a container, implement responsive layout, and style tables, buttons, and cards for mobile-friendly UI.
Style todo items by using embedded ruby to apply conditional bootstrap classes based on a completed boolean, turning completed rows gray and refining the to-do table in a Rails app.
Create a Stryker CSS class to apply a strike-through on completed to-do items and apply it to the relevant table cell in the index view.
Learn to create and customize links in a Ruby on Rails to-do app using link_to, edit_list_path, and delete actions, control visibility with ERB, and navigate routes.
Explore redirection in a Rails to-do list app by updating or adding items, redirecting to the main index with a confirmation message.
Create and customize flash messages in a Rails to-do app by rendering a flash partial, styling with Bootstrap alerts, and ensuring notices appear on index and show pages.
Move the new item form to the index page and render the form on index, new, and edit actions, then apply bootstrap styling with a card.
Style the index form of a to-do app using bootstrap by wrapping fields in form-group and applying form-control classes, then experiment with nav bars and labels for a cleaner interface.
Add a Bootstrap navbar by creating a partial, include it in the application layout, and customize links and styling to fit the to-do list app.
Add and render a navbar form by copying a form structure, adjust wrappers, and update the index page to replace the old search with a cleaner, green action button.
Experiment with table color styling in the Ruby on Rails to-do list app, adjusting the dark border, bg dark, and bg secondary on the index page and nav bar.
Prototype the edit page for to-do items by applying bootstrap styling, render form, form group, and form control classes to improve the editing experience.
Add a delete marked items feature to the Ruby on Rails to-do list app, creating a trash action, route, and confirmation prompt to remove completed items.
Add a trash action to delete all items, wire a dedicated route, and trigger a delete-all link on the index page with a confirmation prompt.
Learn to add checkbox buttons in a Rails to-do app to mark items as complete or incomplete using forms, toggling cross off and update actions.
Learn how to deploy a Ruby on Rails to-do app to Heroku, switch from development to production databases, and push code via Git and GitHub using the free tier.
Push your ruby on rails app to Heroku using the Heroku toolbelt, log in, add keys, create the app, push code with git push heroku master, and run migrations.
Register a domain name from a registrar, point it to your Heroku app by updating DNS settings, and scale with dynos as traffic grows.
This video shows changing redirects in the lists controller so that create, update, and destroy actions always redirect to the root URL, not the lists page.
Promote code tv lifetime membership with a $200 discount using the coupon code Udemy, granting access to 60+ courses, coding books, and a 30-day money-back guarantee.
Ruby on Rails can seem overwhelming at first, but it doesn’t have to be! In this Rails course I’ll walk you through it step by step and you’ll be building your first web app in MINUTES. You’ll be amazed how quick and easy it is to create very professional looking websites with Ruby on Rails, even if you have no programming or web design experience at all.
Watch over my shoulder as I build a cool To-Do List app step by step right in front of you. You’ll follow along and build your own copy. By the time we’re finished, you’ll have a solid understanding of Ruby on Rails and how to use it to build awesome web apps.
The course contains 29 videos – and is just over 2 hours long. Watch the videos at your own pace, and post questions along the way if you get stuck. You don’t need any special knowledge or software to take this course, though any experience with HTML or CSS is a plus. You don’t even need to know the Ruby programming language. I’ll walk you through EVERYTHING.
Ruby on Rails is a great web development tool and learning it has never been this easy.
What We'll Build...
We'll build a cool To-Do List app that let's you make lists and save them to a database. You can update items as you complete them to "cross them off the list".
We'll style the website using the popular Bootstrap CSS framework (I'll show you how to use it!)
You'll Learn How To...
Use Git and Github for Version Control
Leverage Ruby on Rails Scaffold
Make a Database Migration
Use Rake Routes and Views in Ruby on Rails
Create a Root Route
Build Pages (Views)
Install Bootstrap CSS For Ruby on Rails
Style Database Items
Use Strikethrough Text for your list items
Creating Rails Links
Manage Redirection
Create Flash Error Messages
Style The Index Form
Creating a Navbar
Put a Form on The Navbar
Change Table Colors
Style The Edit Page
Build a Delete Marked Items Button
Build a Delete All Items Button
Use Checkbox Buttons
Use Heroku for Webhosting
Pushing Code To Heroku
Use a Custom Domain Name With Heroku
And More...
There's a reason why Ruby on Rails is so popular. Find out why today!
Sign up today and I'll see you on the inside!
-John Elder