Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
#+title: PureScript any-db bindings * Caveat This is alpha quality software. * About Bindings for [[https://github.com/grncdr/node-any-db][node-any-db]] forked from [[https://github.com/epost/purescript-node-postgres][purescript-node-postgres]], with a slightly more fine-grained API. * Installation I'll assume you have [[http://www.purescript.org/][PureScript]] and [[http://www.postgresql.org/][PostgreSQL]] installed. You'll also need [[https://github.com/bodil/pulp][purescript-pulp]] and the postgres version of [[https://github.com/grncdr/node-any-db][node-any-db]]: #+begin_src bash npm install any-db-postgres any-db-transaction npm install pulp #+end_src Clone the project: #+begin_src bash git clone https://github.com/epost/purescript-node-postgres cd purescript-node-postgres #+end_src Create a Postgres database and run the tests: #+begin_src bash psql --command="create database test" cat schema.sql | psql --username=testuser test #+end_src * Building and running Let's run some tests: #+begin_src bash pulp test #+end_src * Usage See [[file:./MODULE.md][Module documentation]].