Merge remote branch 'origin/demonstration'
[deska.git] / run-deska.sh
blob95437f18c8e7b38d46f5181ce130fc8aee815f9b
1 #!/bin/bash
3 # This is a sample script for running the Deska server over SSH. Simply adjust
4 # these variables and point the Deska CLI by its deska.ini file to this file.
5 # Exmaple:
7 # [DBConnection]
8 # Server=ssh
9 # Server=localhost
10 # Server=~/work/fzu/deska/run-deska.sh
12 # (Yes, that's three lines assigning to the "Server" variable. That's how Boost
13 # works.
15 # You will very likely have to adjust these paths in your system.
17 # Enable this one if you want to produce a machine-readable log of the IO communication
18 #export DESKA_SERVER_IO_TRACE=1
20 # The database scheme to use
21 export DESKA_DB=d_fzu
22 export DESKA_DB=d_demo
24 # Enable configuration generators. The tests/prepare-git-repo.sh script can be
25 # used to set up this directory tree, and sample scripts in the
26 # scripts/config-generators directory can be symlinked into the
27 # $DESKA_CFGGEN_SCRIPTS directory to activate those currently in use at the FZU.
28 export DESKA_CFGGEN_BACKEND=git
29 export DESKA_CFGGEN_BACKEND=fake
30 export DESKA_CFGGEN_SCRIPTS=/home/jkt/work/fzu/deska/_build/cfggen-testing/scripts
31 export DESKA_CFGGEN_GIT_REPO=/home/jkt/work/fzu/deska/_build/cfggen-testing/cfggen-repo
32 export DESKA_CFGGEN_GIT_WC=/home/jkt/work/fzu/deska/_build/cfggen-testing/cfggen-wc
33 export DESKA_CFGGEN_GIT_PRIMARY_CLONE=/home/jkt/work/fzu/deska/_build/cfggen-testing/cfggen-primary
34 export DESKA_CFGGEN_GIT_SECOND=/home/jkt/work/fzu/deska/_build/cfggen-testing/second-wd
36 # Now that we have set up our environment, launch the server.
37 ~/work/fzu/deska/src/deska/server/app/deska-server