10.1 Starting and stopping Daisy
This document contains a summary of how to start and stop Daisy after the
10.1.1 Starting Daisy
The order in which the processes are started is important, and should be the order in which they are mentioned below.
The command snippets below assume the JAVA_HOME and DAISY_HOME environment variables are set. If they are not set globally, set them each time before executing the commands.
10.1.1.1 Start MySQL
Start MySQL if necessary. Usually MySQL is started together with the operating system (in Windows as a service, in Linux using the /etc/init.d/mysql script), so you don't need to look after this.
10.1.1.2 Start the Daisy Repository Server
cd %DAISY_HOME%\repository-server\bin daisy-repository-server <daisydata-dir>
cd $DAISY_HOME/repository-server/bin ./daisy-repository-server <daisydata-dir>
10.1.1.3 Start the Daisy Wiki
cd %DAISY_HOME%\daisywiki\bin daisy-wiki <wikidata-dir>
cd $DAISY_HOME/daisywiki/bin ./daisy-wiki <wikidata-dir>