Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 436 Bytes

CONTRIBUTE.md

File metadata and controls

20 lines (17 loc) · 436 Bytes

CONTRIBUTE

  1. Install the required shards:
$ shards install
  1. Run tests against PostgreSQL:
$ sudo -u postgres createdb rome_test
$ export DATABASE_URL=postgres://postgres@/rome_test
$ crystal run test/*_test.cr
  1. Run tests against MySQL:
$ mysqladmin create rome_test -u root --default-character-set=utf8mb4
$ export DATABASE_URL=mysql://root@/rome_test
$ crystal run test/*_test.cr