cialis online pharmacy generic xenical cheap cialis online cialis generic viagra online in canada buy cheap levitra online cialis without a perscription order viagra uk no prescription flagyl cheap generic levitra buying viagra in the uk cheap viagra approved cialis deltasone online buy viagra online without prescription non prescription cialis buy orlistat uk buy cialis in india prednisone 60 mg female viagra online buy viagra without prescription celebrex prescriptions buy cialis canada best prices viagra alternative to prednisone cheapest generic levitra levitra 5mg cheap viagra cialis on line buy xenical without prescription online accutane canadian health care prednisone no prescreption viagra online generic female viagra europe buy cialis low price cheap india viagra

How To Configure PostgreSQL On Mac

Our featured tutorial for today comes from Ruby on Rails developer Gavin Morgan via Natasha Murashev’s blog “Natasha the Robot.” In this tutorial, you’ll learn how to download and configure PostgreSQL with your Rails application on a Mac platform.


Simply follow the instructions below:

  • Install & run the app.
  • Execute “$ psql -h localhost” to enter local psql terminal.
  • Execute “=# select * from pg_roles;” to list the accounts with access privelages.
  • Execute “$ rails new myApp -d postgresql” to create psql rails app.
  • Fix config/database.yml to include your psql credentials — ‘username‘and ‘password’ (you can leave the password blank if you don’ remember it).
  • Fit ‘host: localhost‘ into config/database.yml under ‘test:’ & ‘development:‘

Note: Heroku will throw database.yml away & use its own settings.

  • Execute “$ rake db:create:all” to create your psql databases.

Note: If you have installed PostgreSQL before via ‘$brew install postgresql’ and it’s not working for you, you may opt to find someone more experienced to help you make it work.

For more additional info, you may read Natasha’s version of the tutorial HERE.

Related Posts

Adding Instagram Badges to Your WordPress Profile

How to Create a Custom WordPress Registration Form with Flat UI

How to Create A Basic Hipster-Style Layout

How to Style Nav Links Using Floats With HTML5 and CSS3