You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,35 +96,39 @@ The allowed configuration values are:
96
96
97
97
== Docker Example
98
98
99
-
1. Launch the containers
100
-
+
99
+
.Clone the project
100
+
[source,console]
101
+
----
102
+
git clone {project-url}.git
103
+
cd {project-name}
104
+
----
105
+
106
+
.Launch the containers
101
107
[source,console]
102
108
----
103
109
docker-compose up
104
110
----
105
111
106
-
2. Create a RediSearch index
107
-
+
112
+
.Create a RediSearch index
108
113
[source,console]
109
114
----
110
115
docker exec redismod /usr/local/bin/redis-cli FT.CREATE beers ON HASH PREFIX 1 beer: SCHEMA id TAG SORTABLE brewery_id TAG SORTABLE name TEXT SORTABLE abv NUMERIC SORTABLE descript TEXT style_name TAG SORTABLE cat_name TAG SORTABLE
111
116
----
112
117
113
-
3. Add documents to the index
114
-
+
118
+
.Add documents to the index
115
119
[source,console]
116
120
----
117
121
docker run --add-host=host.docker.internal:host-gateway jruaux/riot-file -h host.docker.internal import https://storage.googleapis.com/jrx/beers.json hset --keyspace beer --keys id
0 commit comments