changeset 4189:04cd749de818

docker (backend-dev-demo): command renaming + add a bookmark to avoid empty chat
author Goffi <goffi@goffi.org>
date Mon, 11 Dec 2023 00:54:01 +0100
parents 5a835b320726
children 92551baea115
files docker/backend-dev-demo/Dockerfile
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/docker/backend-dev-demo/Dockerfile	Mon Dec 11 00:53:59 2023 +0100
+++ b/docker/backend-dev-demo/Dockerfile	Mon Dec 11 00:54:01 2023 +0100
@@ -16,12 +16,14 @@
 
 RUN ./entrypoint.sh \
     # we create the file sharing component which will autoconnect when backend is started
-    jp profile create file-sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file-sharing -A && \
+    libervia-cli profile create file-sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file-sharing -A && \
     libervia-backend stop
 
 RUN ./entrypoint.sh \
     # and a demo account
-	jp profile create demo -j demo@server1.test -p "demo"  && \
+    libervia-cli profile create demo -j demo@server1.test -p "demo"  && \
+    # we create a bookmark to have something to test in chat
+    libervia-cli bookmarks add -pdemo -a demo@server1.test\
     libervia-backend stop
 
 USER libervia