Skip to content

tiy-dc-ror-2016-feb/vet_practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DB

  1. Database config
  2. Databases are not just created rake db:create if using postgres
  3. Migrations vis rake db:migrate
  4. Make a new migration rake generate:migration {name of migration}
  5. Torch db via rake db:drop

Must have Locally

  1. brew install postgres Follow instructions to setup first db

Deploying to heroku

  1. Ensure you have heroku toolbelt
  2. Run heroku create
  3. Run heroku run "rake db:migrate" to migrate your servers database
  4. Poke it with heroku run bash to spawn a "ssh" session on heroku

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published