Mercurial > libervia-backend
view docker/backend-dev-demo/scripts/init_script.sh @ 4198:b1207332cea2
plugin XEP-0308: fix ID used, recipients and author check.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 13 Dec 2023 22:00:25 +0100 |
parents | 22cd3094cd1e |
children | 6a8cc6d668a4 |
line wrap: on
line source
#!/bin/bash SETUP_INDICATOR="/home/libervia/.local/share/libervia/setup_complete.flag" FORUMS_JSON_FILE="/home/libervia/forums.json" if [ ! -f "$SETUP_INDICATOR" ]; then echo "First run detected. Setting up the environment and configuration." libervia-cli profile modify -D -cp demo --pwd demo libervia-cli forums set -p demo < $FORUMS_JSON_FILE libervia-cli bookmarks add -pdemo -a demo@chat.server1.test touch "$SETUP_INDICATOR" echo "Initial setup complete." else echo "Not the first run. Skipping setup." fi