Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Deploy Rails 5.2 with a TLD, Namecheap, Heroku, Codeanywhere
Rating: 4.4 out of 5(39 ratings)
5,922 students

Deploy Rails 5.2 with a TLD, Namecheap, Heroku, Codeanywhere

Learn how to deploy your own Rails 5.2 app to a top-level domain, easily, even on Windows!
Created byAjdin Imsirovic
Last updated 9/2018
English

What you'll learn

  • Be able to deploy a Rails app from Codeanywhere

Course content

1 section16 lectures31m total length
  • Register a Namecheap account0:54

    In this video we'll get a new account on Namecheap.com and we will log in.

  • Buy a new domain and email on Namecheap, sign up for Codeanywhere5:36

    In this video we will pick a domain name and buy that new domain on Namecheap. We will also get our own private email for the domain. Using the new email address, we will sign up for Codeanywhere.com.

  • Install Rails on Codeanywhere3:21

    In this video we will install Ruby 2.5 and Rails 5.2.1.

  • Serve a Rails project on Codeanywhere2:19

    We will see how to start a new Rails project on Codeanywhere and how to serve it and view it in the browser.

  • Sign up for Heroku and Bitbucket1:39

    In this video we signup for Heroku and Bitbucket

  • Restart the container in Codeanywhere and show the info tab0:47

    In this video we see how to turn the Codeanywhere container back on. We also see how to locate the info tab.

  • 007 Adding a public SSH key to Bitbucket1:04

    Generate the SSH public key in Codeanywhere, copy the key, and add it to your Bitbucket account under SSH keys to enable secure access.

  • 007b Pushing Cloudanywhere code gets rejected because of README on remote2:32
  • 007c Fetching remote changes and pushing local repo successfully1:37

    Fetch remote changes and push the local repository successfully by editing files, committing with a message, saving in vi, and confirming the connection between Bitbucket and Codeanywhere.

  • 010 Installing heroku toolbelt on Codeanywhere1:36
  • 011 Logging into Heroku via toolbelt and running the heroku create command1:56

    Log into the Heroku toolbelt, create an app, and deploy your Rails project. Edit the Gemfile to comment out a gem and add the pg gem for PostgreSQL.

  • 012 Bundle install without production1:21

    Run bundle install with the production group and commit messages in present tense. Push to origin master, deploy to Heroku, and observe the Rails 404 page.

  • 013 Deploying our Rails app with a custom welcome message to Heroku subdomain3:57

    Deploy a Rails 5.2 app to Heroku with a custom welcome message by creating a welcome controller and index view, and configuring routes for a subdomain deployment.

  • 014 Add a TLD (top-level domain) to Heroku dashboard1:13
  • 015 Update the CNAME record on Namecheap0:48

    Update the Namecheap DNS settings by editing the CNAME records to point to Heroku DNS, save changes on both, and expect the top level domain to serve the Rails app.

  • 016 Our app successfully propagated to our TLD0:29

    Propagate your Rails app to a top level domain and refresh to verify it is served on the TLD, then begin the main setup to learn Rails.

Requirements

  • A computer and access to the internet

Description

In this video course we will:

- Buy a domain for $0.88 on Namecheap

- Sign up for Codeanywhere online code editor

- Install Rails on Codeanywhere

- Signup for Heroku and Bitbucket

- Learn how to perform some basic tasks in Codeanywhere such as restarting the container and showing our container info

- Add an SSH key to Bitbucket

- Push Cloudanywhere code and see how to deal with problems when the code on our remote (Bitbucket) conflicts with code on our local environment (Codeanywhere environment)

- Install Heroku toolbelt on Codeanywhere

- Log into Heroku via command line using toolbelt and run the heroku create command

- Bundle install without production

- Deploy our app to a heroku subdomain with a custom index page

- Add a TLD (top-level domain) to our Heroku dashboard

- Update the CNAME record on Namecheap

- Successfuly complete the deployment of our Rails app to a TLD (top-level domain)

Who this course is for:

  • People trying to learn Rails who would like to deploy their own projects on top-level domains