distributed as a single binary file. Visit https://appimage.org/ to learn more about the
AppImage format and how it works.
-Again, do NOT try to run this on your production machine. For that matter, don't try to
-run it on anything other than a dedicated build host. It may ERASE data you intended to
-keep.
+Again, do NOT try to build this on your production machine. For that matter, don't try
+to build it on anything other than a dedicated build host. It may ERASE data you
+intended to keep.
If you're an end user you shouldn't have any need to do this at all. The whole point of
this is that we can supply ready-to-run binaries that will run on any Linux/Linux system
usage() {
echo ${APPIMAGE}: usage: ${APPIMAGE} '[-h data_directory] [-p http_port] [-s https_port] command'
- echo 'command must be one of: run, test, install, client, database_cleanup, migrate'
+ echo 'command must be one of: run, test, install, database_cleanup, migrate'
exit 2
}
echo -e '\033[44m\033[37m \033[K\033[0m'
echo
- echo Installation has completed.
+ echo -e '\033[32m\033[1mInstallation has completed.\033[0m'
echo Please continue by browsing to http://`hostname`:${HTTP_PORT}
echo
echo -e 'If this is a new installation, the default administrator'
install)
installation
;;
- client)
- exec $APPDIR/usr/bin/citadel
- ;;
database_cleanup)
export LD_LIBRARY_PATH=$APPDIR/usr/lib
export PATH=$APPDIR/usr/bin:$PATH
export PATH=$APPDIR/usr/bin:$PATH
exec $APPDIR/usr/local/citadel/citserver -x9 -h $CTDL_DIR
;;
- connect)
- export LD_LIBRARY_PATH=$APPDIR/usr/lib
- export PATH=$APPDIR/usr/bin:$PATH
- cd $APPDIR
- exec citadel $*
- ;;
*)
echo Unexpected command: ${1}
usage