42 lines
813 B
Markdown
42 lines
813 B
Markdown
# views
|
|
|
|
Eventually consistent external materialized views for SQL databases.
|
|
|
|
## Design
|
|
|
|
TODO
|
|
|
|
## Usage
|
|
|
|
TODO
|
|
|
|
## Testing
|
|
|
|
You will need to set up the test db to run the tests:
|
|
|
|
```bash
|
|
$ psql -Upostgres < test/views/test_db.sql
|
|
CREATE ROLE
|
|
CREATE DATABASE
|
|
$
|
|
```
|
|
|
|
This will create a role `views_user` and a database owned by that user called `views_test`.
|
|
|
|
(You can change the database settings if you'd like by editing that file and checking the config in `test/views/fixtures.clj`.)
|
|
|
|
Then, to run all tests:
|
|
|
|
```bash
|
|
$ lein with-profile test test
|
|
```
|
|
|
|
## License
|
|
|
|
Copyright © 2014 DiligenceEngine
|
|
|
|
Authors Dave Della Costa (https://github.com/ddellacosta) and Alexander Hudek (https://github.com/akhudek)
|
|
|
|
Distributed under the Eclipse Public License either version 1.0 or (at
|
|
your option) any later version.
|