summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Wagner <info@gunibert.de>2022-01-19 12:56:07 +0000
committerGünther Wagner <info@gunibert.de>2022-01-19 12:56:07 +0000
commitfc6805e339e02286e5bc7d366b4fed5e8dbfa3d3 (patch)
treebcd6abb224a1fd1e0b6ce76406ab5cdcc97332e5
parent33f3ba2e9cf52aee0fdba0aa8a7336a805fd9713 (diff)
parent0f273070addaed4f215641a7a37bcce94d4496bb (diff)
downloadlibrest-fc6805e339e02286e5bc7d366b4fed5e8dbfa3d3.tar.gz
Merge branch 'baarkerlounger-master-patch-70333' into 'master'
RestDemo flatpak build See merge request GNOME/librest!13
-rw-r--r--README24
-rw-r--r--examples/demo/org.gnome.RestDemo.json2
2 files changed, 25 insertions, 1 deletions
diff --git a/README b/README
index d73dc25..6d6c098 100644
--- a/README
+++ b/README
@@ -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" : [