Getting Started With PostgreSQL
- Download PostgreSQL and follow the installation guide for your flavor
- Fire up your console and type
$ psqlto open the Postgres command line- From here you should do all of the commands you find online
- Everything you find on http://www.postgresql.org/docs/ will work in the command line
- This will be your main interaction between you and your PostgreSQL databases
- Create a Database -
CREATE DATABASE my_new_database - Read the docs and do some Google searches to find all of the commands you'll need. There are way too many to list here and they all have their uses.
$ rake db:create or for more developed projects $ rake db:schema:load.
As usual if there is anything I've missed or questions that you have feel free to leave a comment below.
Comments
Join the discussionNo comments yet. Be the first to comment.




