Skip to content

Commit 8799acb

Browse files
author
Brujo Benavides
authored
Merge pull request #11 from inaka/ferigis.4.rebar3
[#4] fixing README.md
2 parents 2af8d96 + 2815ff7 commit 8799acb

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,7 @@ have to follow these steps:
2020

2121
1. Add `sumo_db` and `sumo_db_pgsql` as dependencies in your project.
2222

23-
Using **erlang.mk**:
24-
25-
```erlang
26-
DEPS = sumo_db sumo_db_pgsql
27-
28-
dep_sumo_db = git https://github.com/inaka/sumo_db.git 0.5.0
29-
dep_sumo_db_pgsql = git https://github.com/inaka/sumo_db_pgsql.git 0.0.1
30-
```
31-
32-
Using **Rebar**:
23+
Using **Rebar3**:
3324

3425
```erlang
3526
{deps, [
@@ -50,7 +41,7 @@ Using **Rebar**:
5041

5142
Start the Erlang console, adding the path to your beams and config file
5243

53-
$ erl -pa ebin deps/*/ebin -config tests/test.config
44+
$ erl -pa _build/default/lib/*/ebin -pa _build/test/lib/sumo_db_pgsql/test -config test/test.config
5445

5546
Within the console:
5647

@@ -75,7 +66,7 @@ Within the console:
7566

7667
% from here you can start using sumo
7768

78-
> sumo:find_all(sumo_test_people_pgsql).
69+
> sumo:find_all(people).
7970
[]
8071
```
8172

0 commit comments

Comments
 (0)