Skip to content

Instantly share code, notes, and snippets.

View DianaEromosele's full-sized avatar
♥️

Diana Eromosele Robinson DianaEromosele

♥️
View GitHub Profile
## DEPLOY RAILS APP TO HEROKU ##
IN HEROKU =>
# Create a free heroku account if you don't have one already
# pick app you want to deploy (it can't be that is on sql, has to be postgresql) OR create a new app
** if your app was created in sql, to change to postgres is a bit involved, get help **
# create new app
# choose name for app
# install toolbelt (only need this once, if it is a new computer install again, there is a link on heroku to download)
# GoDaddy Account > Domain Manager > DNS Management
# Domain Settings > Manage DNS > Records =>
Add >
Host: *
Points to: appname.herokuapp.com
TTL: 1 hour
Add >
Host: appnamesecure
Points to: appname-2121.herokussl.com
In GoDaddy =>
Go to "Manage my Domains"
Next to your domain, click on the Settings Sprocket Drop down and select "Manage DNS"
At the bottom of the "Records" Section, click "ADD"
Type: A
Host: @
Points to: 192.30.252.153
* Leave TTL as is
Click "ADD" again to add another record:
@DianaEromosele
DianaEromosele / rails_setup_notes.txt
Created July 28, 2016 03:37 — forked from stevecass/rails_setup_notes.txt
Starting a new rails app
#Creating an app called my_great_app
rails new my_great_app -T -d postgresql --skip-turbolinks
cd my_great_app
git init
git add .
git commit -m "Initial commit. Rails boilerplate."
# Edit gemfile
# #Remove the reference to coffee-rails.