just bought a new comp. how to get pt3 running?

Hey, i just bought a new computer, and was wondering if you have a tutorial or link on how to setup my postgresql database and PT3 on my new comp. i have saved all my HH and processed files on a separate hard drive. some are from pt3 and some are from pt2 if that matters any. Thanks.