Publishing Your Site
Premium Content - Free Preview
It's time to publish your site!
First, make sure to commit all your changes with git:
git add .
git commit -m "created controllers and views"
Next, push your code to Heroku:
git push heroku master
If you want the sample seed data on your live site, run:
heroku run rake db:seed
You can now share your live site with the world! If you want to change the name and URL of your app, you can run the following command in your terminal:
heroku rename your-new-app-name
Connecting Your Site with Cloudflare
Optional Section
If you're interested in running a live website with your own domain, it's a good idea to get Cloudflare for it.
Cloudflare provides a free service for speeding up your site and protecting it from certain kinds of attacks. It provides many other benefits, so it's worth connecting your production site to it.
End of Free Content Preview. Please Sign in or Sign up to buy premium content.