Open fititnt opened 6 years ago
Humm, in less than two hours is possible to test for who have docker and ngrok. See https://github.com/fititnt/kuzzle-playground. Here a dump:
Based on the documentation at http://docs.kuzzle.io/guide/essentials/installing-kuzzle/
sysctl -n vm.max_map_count
is not >= 262144, run echo "vm.max_map_count=262144" >> /etc/sysctl.conf
docker-compose up
on this same repository folder (already downloaded docker-compose.yml)
curl "http://localhost:7512/?pretty"
ngrok http 7512
(Note: Use free account from https://ngrok.com, and install Ngrok on your system){ "message": "Hello, world!" }
12 Copy the _id_
from last respose an use on next request instead of xxxxxxxxxxxxxx{ "message": "in a bottle", "an_englishman": "in New York" }
Content-Type: application/json
(see screenshots for details)15..19-kuzzle-backoffice.png
)Stop and clean up
Here images
# fititnt at bravo in /alligo/code/fititnt/kuzzle-playground/screenshots on git:master o [3:43:00]
$ ls -ltr | awk '{print $9}'
2-ngrok.png
3-kuzzle-backoffice.png
4-kuzzle-backoffice-loggedin.png
5-guide-essentials-persisted--POST.png
6-guide-essentials-persisted-PUT.png
1-docker-compose.png
7-guide-essentials-persisted-GET(list-collections).png
8-guide-essentials-persisted-POST(created-document).png
9-guide-essentials-persisted-POST(update-document)
10-Oops-look-at-_source.png
11-Oops-fix.png
12-Oops-better.png
13-search-and-find.png
14-search-and-miss.png
15-kuzzle-backoffice.png
16-kuzzle-backoffice.png
17-kuzzle-backoffice.png
18-kuzzle-backoffice.png
19-kuzzle-backoffice.png