Skip to content

Commit

Permalink
Merge pull request #246 from inaka/cabol.242.rebar3
Browse files Browse the repository at this point in the history
Cabol.242.rebar3
  • Loading branch information
Euen authored Jul 11, 2016
2 parents 905ab1d + 0f6637e commit 1eccb78
Show file tree
Hide file tree
Showing 9 changed files with 107 additions and 6,714 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ erl_crash.dump
sumo_db.d
_build/
rebar.lock
*_plt
49 changes: 0 additions & 49 deletions Makefile

This file was deleted.

53 changes: 0 additions & 53 deletions Makefile.rebar

This file was deleted.

22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,24 +84,18 @@ being in the top level directory:
make all blog


## Running Tests

To run tests successfully, you need to follow these steps first:
## Running Dialyzer

* Start the database engines: **MySQL**, **PostgreSQL**, **MongoDB** and
**ElasticSearch**
```
$ rebar3 dialyzer
```

* For **MySQL**, **PostgreSQL** and **MongoDB**, you need to:
- Create an user (or use defaults) and configure it on `test/test.config`
file.
- Create test database `sumo_test` on each DB.

> **Note:**
> - For **MongoDB** you first create the test database and then create an user
to access that DB. For more information visit [MongoDB Tutorial](http://docs.mongodb.org/manual/tutorial).
> - For **Riak** please follow instructions below ([<i class="icon-refresh"></i> Riak](#riak)).
## Running Tests

```
$ rebar3 ct
```

## Change Log

Expand Down
Loading

0 comments on commit 1eccb78

Please sign in to comment.