File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,7 @@ have to follow these steps:
20
20
21
21
1 . Add ` sumo_db ` and ` sumo_db_pgsql ` as dependencies in your project.
22
22
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** :
33
24
34
25
``` erlang
35
26
{deps , [
@@ -50,7 +41,7 @@ Using **Rebar**:
50
41
51
42
Start the Erlang console, adding the path to your beams and config file
52
43
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
54
45
55
46
Within the console:
56
47
@@ -75,7 +66,7 @@ Within the console:
75
66
76
67
% from here you can start using sumo
77
68
78
- > sumo :find_all (sumo_test_people_pgsql ).
69
+ > sumo :find_all (people ).
79
70
[]
80
71
```
81
72
You can’t perform that action at this time.
0 commit comments