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:
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
5142Start 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
5546Within 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
You can’t perform that action at this time.
0 commit comments