0.1.2 • Published 9 years ago

is-pg-accessible v0.1.2

Weekly downloads
3
License
BSD-3
Repository
github
Last release
9 years ago

is-pg-accessible

Lets know if pg is installable, accessible and operative.

extending version downloads linux windows coverage climate dependencies

Can I install pg with npm?

Can I connect to postgresql?

If I couldn't, Can I connect to postgresql with php?

Instructions

  1. Try to install with npm
    $ npm install
  1. Write your own database connection parameters in a new file local-connect-info.json (to start you can copy connect-info.json)

  2. Create the database

  3. Try to connect (you must see "all ok: 1 = 1" in the last console line)

    $ npm start