jad-b / Torque

Server-side work for the Crank app
0 stars 0 forks source link

User CRUD Ops #14

Closed jad-b closed 9 years ago

jad-b commented 9 years ago

It works! Well, it does for me.

You'll need to have the DB running (duh).

docker-compose -f deploy/docker-compose.yml up -d
go test -v -tags db -run TestUserAuth github.com/jad-b/torque/users -psql-conf $(pwd)/pgconf.json

pgconf.json is a simple file; looks like this:

{
    "user": "torque",
    "password": "torque",
    "database": "torque",
    "host": "localhost:15432",
    "sslmode": "disable"
}
jad-b commented 9 years ago

Needed to keep working on Auth workflow.