reformat <screen/> tags in StaffclientInstallation to look right in both PDF and...
authorSteve Sheppard <ssheps@gmail.com>
Wed, 29 Dec 2010 17:30:08 +0000 (12:30 -0500)
committerSteve Sheppard <ssheps@gmail.com>
Wed, 29 Dec 2010 17:30:08 +0000 (12:30 -0500)
1.6/admin/staffclientinstallation.xml

index 38b839b..653b49d 100644 (file)
                                        symbolic link to that directory. As the 
                                        <systemitem class="username">root</systemitem> user, make the changes as follows:</para>
 <screen>
-       <prompt>
-       # as the root user:</prompt>
        <userinput>
+       # as the root user:
        cd /openils/var/web/xul
        ln -s SERVER_BUILD_ID/ CLIENT_BUILD_ID
        </userinput>
                                                        select the latest version; for <application>XULrunner</application>,
                                                        select version <emphasis>1.8.1.4-2ubuntu5</emphasis>.</para>
 <screen>
-       <prompt>
-       # as the root user:</prompt>
        <userinput>
+       # as the root user:
        sudo apt-get install subversion
        sudo apt-get install xulrunner
        </userinput>
                                                                        Client. Use the following commands to download the proper
                                                                        version of the source code by tag name:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /DOWNLOAD/DIRECTORY
        svn co rel_1_6_1_2/
        </userinput>
                                                        <para>As the <systemitem class="username">opensrf</systemitem>
                                                        user, run the following commands to build the Staff Client:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        wget http://evergreen-ils.org/downloads/Evergreen-ILS-1.6.1.2.tar.gz
        tar xfz Evergreen-ILS-1.6.1.2.tar.gz
        cd /home/opensrf/Evergreen-ILS-1.6.1.2
                                                        user, navigate to the <filename class="directory">build/</filename>
                                                        subdirectory and run the following command:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client/build
        xulrunner application.ini
        </userinput>
                                                        <literal>STAGING_DIRECTORY</literal> with the appropriate
                                                        paths):</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        mkdir ~/STAGING_DIRECTORY
        cd ~/DOWNLOAD_DIRECTORY/Open-ILS/xul/
        cp -r staff_client ~/STAGING_DIRECTORY
                                                        <para>Test the Staff Client to verify that all necessary files
                                                        were copied to the staging directory:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd ~/STAGING_DIRECTORY/staff_client/build
        xulrunner application.ini
        </userinput>
                                                        <para>If there were no problems, then finish the cleanup by
                                                        removing the original download directory as shown:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        rm -r -f ~/DOWNLOAD_DIRECTORY
        </userinput>
 </screen>
                                                        <para>Finally, the command:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        xulrunner ~/STAGING_DIRECTORY/staff_client/build/application.ini
        </userinput>
 </screen>
                                                <listitem>
                                                        <para>Install wine:</para>
 <screen>
-       <prompt>
-       # as the root user:</prompt>
        <userinput>
+       # as the root user:
        sudo apt-get install wine
        </userinput>
 </screen>
                                                        application (remember to replace <literal>VERSION</literal> with
                                                        the release number of the Staff Client you downloaded):</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /TEMP_DIRECTORY
        wine evergreen-setup-rel_VERSION.exe
        </userinput>
                                date/time string, but you can also override the value of <envar>BUILD_ID</envar>.</para>
                                <para>You could use the following commands during the normal install process:</para>
 <screen>
-       <prompt>
-       # as the root user:</prompt>
        <userinput>
+       # as the root user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2
        make STAFF_CLIENT_BUILD_ID=1_6_1_2 install
        </userinput>
                                execute the following commands to build the Staff Client (remember to replace
                                <literal>NEW_VERSION</literal> with an appropriate value):</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make STAFF_CLIENT_BUILD_ID=NEWVERSION  build
        </userinput>
                                similarly to the <envar>BUILD_ID</envar>.</para>
                                <para>You could use the following commands during the normal install process:</para>
 <screen>
-       <prompt>
-       # as the root user:</prompt>
        <userinput>
+       # as the root user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2
        make STAFF_CLIENT_VERSION=0mytest.200 install
        </userinput>
                                <para>As the <systemitem class="username">opensrf</systemitem> user,
                                execute the following commands to build the Staff Client:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make STAFF_CLIENT_VERSION=0mytest.200  build
        </userinput>
                                <envar>STAMP_ID</envar> similarly to the <envar>BUILD_ID</envar>.</para>
                                <para>You could use the following commands during the normal install process:</para>
 <screen>
-       <prompt>
-       # as the root user:</prompt>
        <userinput>
+       # as the root user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2
        make STAFF_CLIENT_STAMP_ID=my_test_stamp install
        </userinput>
                                <para>As the <systemitem class="username">opensrf</systemitem> user,
                                execute the following commands to build the Staff Client:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make STAFF_CLIENT_STAMP_ID=my_test_stamp  build
        </userinput>
                                <para>As the <systemitem class="username">opensrf</systemitem> user, run
                                the following commands from the Staff Client source directory:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make devbuild
        </userinput>
                                <para>As the <systemitem class="username">opensrf</systemitem> user, run
                                the following commands from the Staff Client source directory:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make compress-javascript
        </userinput>
                                <note>In the following <command>make</command> below, the order of options is
                                important.</note>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make  devbuild  compress-javascript
        </userinput>
                                by specifying the <option>AUTOUPDATE_HOST</option> option.</para>
                                <para>You could use the following commands during the normal install process:</para>
 <screen>
-       <prompt>
-       # as the root user:</prompt>
        <userinput>
+       # as the root user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2
        make AUTOUPDATE_HOST=localhost install
        </userinput>
                                <para>As the <systemitem class="username">opensrf</systemitem> user,
                                execute the following commands to build the Staff Client:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make AUTOUPDATE_HOST=localhost build
        </userinput>
                        <systemitem class="username">opensrf</systemitem> user execute the following
                        commands:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        mkdir -p "/openils/var/web/xul/$(cat build/BUILD_ID)"
        cp -R build/server "/openils/var/web/xul/$(cat build/BUILD_ID)"
                                <para>As the <systemitem class="username">opensrf</systemitem> user, execute
                                the following commands:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make generic-client
        </userinput>
                                <para>As the <systemitem class="username">opensrf</systemitem> user
                                execute the following commands:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make win-client
        </userinput>
                                <para>As the <systemitem class="username">opensrf</systemitem> user, 
                                execute the following commands:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make linux-client
        </userinput>
                                <para>As the <systemitem class="username">opensrf</systemitem> user,
                                execute the following commands:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make extension
        </userinput>
                                                As the <systemitem class="username">opensrf</systemitem> user, execute 
                                                the following commands:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2
        ./configure --prefix=/openils --sysconfdir=/openils/conf --with-updateshost=hostname
        make
                                                replace <literal>SOME_URL</literal> with an appropriate value)
                                                :</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make AUTOUPDATE_HOST=http://SOME_URL build
        </userinput>
                                directory to the Staff Client source directory, then execute the following
                                commands:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        </userinput>
 </screen>
                                <para>Command to build all updates at once:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        make updates
        </userinput>
 </screen>
                                <para>commands to build updates individually:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        make generic-updates
        make win-updates
        make linux-updates
                                one of the following commands:</para>
                                <para>To build all updates at once:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make updates-client
        </userinput>
 </screen>
                                <para>To build updates individually:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make generic-updates-client
        make win-updates-client
                                <filename>update.rdf</filename>, as the root user execute the following
                                commands:</para>
 <screen>
-       <prompt>
-       # as the root user:</prompt>
        <userinput>
+       # as the root user:
        cd /openils/var/updates/pub
        chmod +x  check  download  manualupdate.html  update.rdf
        </userinput>
                                <para>As the <systemitem class="username">opensrf</systemitem> user, 
                                execute the following commands:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client
        make NSIS_EXTRAOPTS=-DPROFILES win-client
        </userinput>
                <filename class="directory">/home/opensrf/Evergreen-ILS-1.6.1.2/</filename> you can start the 
                Staff Client as shown in the following example:</para>
 <screen>
-       <prompt>
-       # as the opensrf user:</prompt>
        <userinput>
+       # as the opensrf user:
        cd /home/opensrf/Evergreen-ILS-1.6.1.2/Open-ILS/xul/staff_client/build
        xulrunner application.ini
        </userinput>