2016-04-30 21:32:54 +02:00
2016-04-30 16:14:28 +02:00
2016-02-10 16:15:05 +01:00
2016-02-24 13:59:12 +01:00
2016-04-27 20:16:15 +02:00
2016-02-24 13:38:14 +01:00
2016-04-30 16:14:28 +02:00
2016-04-30 21:32:54 +02:00
2016-04-30 21:32:54 +02:00

Setup the dev env

Just run the docker-compose file to create the database.

docker-compose up -d

Dev

Connect to the database

docker run -it --rm --link canape_postgresql_dev:postgres postgres:9.5 psql -h postgres -U test

Then connect to the database you wanna check :

\c dev

Apply the migrations

migrate -url 'postgres://test:test@127.0.0.1:5432/dev?sslmode=disable' -path ./sql up
migrate -url 'postgres://test:test@127.0.0.1:5432/dev?sslmode=disable' -path ./sqltest up

Run the tests

POSTGRES_DSN="postgres://test:test@127.0.0.1:5432/test?sslmode=disable" go test -v -p=1 ./...
Description
No description provided
Readme 13 MiB
Languages
Go 50.1%
JavaScript 46.1%
PLpgSQL 1.7%
Shell 1.2%
SCSS 0.8%
Other 0.1%