diff options
-rw-r--r-- | README | 24 | ||||
-rw-r--r-- | examples/demo/org.gnome.RestDemo.json | 2 |
2 files changed, 25 insertions, 1 deletions
@@ -43,6 +43,30 @@ siblings for the nodes of the same type that share the same parent. This makes it easy for instance to get a list of all the "photo" nodes in a document from the root. +Demo application +~~~~~~~~~~~~~~~~~~~ + +A small Postman clone is provided in `examples/demo` to test the requests librest +is making. Flatpak is the recommended way of building and installing it: + +``` +# Add Flathub and the gnome-nightly repo +flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo +flatpak remote-add --user --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo + +# Install the gnome-nightly Sdk and Platform runtime +flatpak install --user gnome-nightly org.gnome.Sdk org.gnome.Platform +``` + +**Inside** the `examples/demo` folder run: +``` +flatpak-builder --user --install app org.gnome.Librest.json +``` +Run the application +``` +flatpak run org.gnome.RestDemo +``` + [1] - http://en.wikipedia.org/wiki/Representational_State_Transfer [2] - http://live.gnome.org/LibSoup [3] - http://xmlsoft.org/ diff --git a/examples/demo/org.gnome.RestDemo.json b/examples/demo/org.gnome.RestDemo.json index a271a4b..1ce49cf 100644 --- a/examples/demo/org.gnome.RestDemo.json +++ b/examples/demo/org.gnome.RestDemo.json @@ -30,7 +30,7 @@ "sources" : [ { "type" : "git", - "url" : "file:///var/home/gunibert/Projekte/librest" + "url" : "https://gitlab.gnome.org/GNOME/librest.git" } ], "config-opts" : [ |