From 29d765837481ca207ecf71adcf76f2dd8768ecd9 Mon Sep 17 00:00:00 2001 From: Steve Sheppard Date: Mon, 4 Oct 2010 12:28:43 -0400 Subject: [PATCH] replace many tags with more appropriate markup tags; use to reformat an XML section; review and tweak all sections; --- 1.6/admin/staffclientinstallation.xml | 482 +++++++++++++------------- 1 file changed, 247 insertions(+), 235 deletions(-) diff --git a/1.6/admin/staffclientinstallation.xml b/1.6/admin/staffclientinstallation.xml index 3abafe95aa..e0cd98f5df 100644 --- a/1.6/admin/staffclientinstallation.xml +++ b/1.6/admin/staffclientinstallation.xml @@ -11,10 +11,10 @@ The Staff Client is automatically built by default as part of the normal make install process for Evergreen server-side software. See the section to review details related to building the Staff Client in the final compile/link/install phase of the default Evergreen build process. See the section for help on manually building the Staff Client. Otherwise, continue with the following sections to install a pre-built Staff Client. Installing a Pre-Built Staff Client - You can install the Staff Client from pre-built images and packages without actually having to first build it. Pre-built packages are currently available for Windows, MAC OS X, and Linux. If you need to manually build the Staff Client, see the section . + You can install the Staff Client from pre-built images and packages without actually having to first build it. Pre-built packages are currently available for Windows, MAC OS, and Linux. If you need to manually build the Staff Client, see the section .
Installing on Windows - A standard Microsoft Windows installer that contains the current version of the Staff Client is available from the downloads section of the Evergreen website at http://www.evergreen-ils.org/downloads.php. Download the staff client installer, then run it. A screen that looks similar to this should appear: + A standard Microsoft Windows installer that contains the current version of the Staff Client is available from the downloads section of the Evergreen website at http://www.evergreen-ils.org/downloads.php. Download the Staff Client installer, then run it. A screen that looks similar to this should appear:
Running the Staff Client installer @@ -26,8 +26,8 @@
- Click the Next button to continue through the guided install process. The install wizard will ask you to agree to the end-user license, ask you where to install the software, ask about where to place icons, and then will install the software on your workstation. - When you run the staff client for the first time, a screen similar to this should appear: + Click Next to continue through the guided install process. The Install Wizard will ask you to agree to the end-user license, ask you where to install the software, ask about where to place icons, and then will install the software on your workstation. + When you run the Staff Client for the first time, a screen similar to this should appear:
Running the Staff Client for the first time @@ -39,163 +39,163 @@
- First, configure the server you would like to connect to in the Server section. For example, the PINES demo system is demo.gapines.org. After selecting a server, click the Re-Test Server button. - Because this is the initial run of the staff client, the Workstation section in the upper-right states: Not yet configured for the specified server. The first thing that must be done to the Staff Client on every workstation is to assign it a workstation name. This is covered in the section . + First, add the name of your Evergreen server to the field Hostname in the Server section. For example, the PINES demo system is http://demo.gapines.org. After adding the server name, click Re-Test Server. + Because this is the initial run of the Staff Client, the Workstation section in the upper-right will state: Not yet configured for the specified server. The first thing you must do to the Staff Client on every workstation is to assign it a workstation name. This is covered in .
- Installing on Mac OS X + Installing on Mac OS A Mac package that contains the current version of the Staff Client is available for use with XULRunner. - - - Evergreen Indiana Pkg file [Evergreen v1.2.3.0] - - Download and install the latest version of XULRunner for Mac OS. Release notes for the latest version can be found here: http://developer.mozilla.org/en/docs/XULRunner_1.8.0.4_Release_Notes. Note, later versions may not work correctly. - Download and install the Mac Installation package for the 1_2_3_0 Version Staff Client from http://evergreen.lib.in.us/opac/extras/files/evergreen_osx_staff_client_1_2_3.zip. - To upgrade to a more recent version of the staff client, you can copy the "build" directory from a working Windows installation of the desired version of the staff client to your Mac. The required files may be located in a directory like this on the Windows machine: C:\Program Files\Evergreen Staff Client\build. Copy these files into the "Resources" folder within the Open-ILS package in your Applications directory on the Mac, overwriting files with the same names. - Drag the application's icon into your toolbar for easier access. - - - When you run the staff client installer, a screen will appear that looks similar to this: -
- Running the Staff Client installer - - - - - - Running the Staff Client installer - - -
- FIX BAD LINK: http://es.zionsville.lib.in.us/atheos/eg_osx_a.gif - Click continue, accept the license, then finish the installation. The application will be located at the destination you selected during installation. You will then be able to drag the application into your toolbar for easier access. -
- Finishing the installation - - - - - - Finishing the installation - - -
- FIX BAD LINK: http://es.zionsville.lib.in.us/atheos/eg_osx_a.gif -
- - Running directly using XULRunner - You must install an apropriate version of XULRunner to match the Evergreen version. See the following table for the recommended version of XULRunner: - - Evergreen / XULRunner Dependencies - - - - - - Evergreen 1.6.x.x - XULrunner 1.9 - - - Evergreen 1.4.x.x - XULrunner 1.8.0.4 or XULrunner 1.8.0.3 - - - Evergreen 1.2.x.x - XULrunner 1.8.0.4 or XULrunner 1.8.0.3 - - - -
- If you have issues removing previously installed XULRunner versions see for information on removing previous XULRunner versions. - The staff client data from the ./staff_client/build directory must be placed somewhere on the machine (e.g. ~/Desktop/Evergreen_Staff_Client). Remember to call XULRunner with the full path to the binary, followed by the install command and the path to the client data. See the following command: +
+ Evergreen Indiana Pkg file [Evergreen v1.2.3.0] + + Download and install the latest version of XULRunner for Mac OS. Release notes can be found here: http://developer.mozilla.org/en/docs/XULRunner_1.8.0.4_Release_Notes. Note, later versions may not work correctly. + Download and install the Mac Installation package for the 1_2_3_0 Version Staff Client from http://evergreen.lib.in.us/opac/extras/files/evergreen_osx_staff_client_1_2_3.zip. + To upgrade to a more recent version of the Staff Client, you can copy the "build" directory from a working Windows installation of the desired version of the Staff Client to your Mac. The required files may be located in a directory like this on the Windows machine: C:\Program Files\Evergreen Staff Client\build. Copy these files into the "Resources" folder within the Open-ILS package in your Applications directory on the Mac, overwriting files with the same names. + Drag the application's icon into your toolbar for easier access. + + + When you run the Staff Client installer, a screen will appear that looks similar to this: +
+ Running the Staff Client installer + + + + + + Running the Staff Client installer + + +
+ FIX BAD LINK: http://es.zionsville.lib.in.us/atheos/eg_osx_a.gif + Click continue, accept the license, then finish the installation. The application will be located at the destination you selected during installation. You will then be able to drag the application into your toolbar for easier access. +
+ Finishing the installation + + + + + + Finishing the installation + + +
+ FIX BAD LINK: http://es.zionsville.lib.in.us/atheos/eg_osx_a.gif +
+
+ Running directly using XULRunner + You must install an apropriate version of XULRunner to match the Evergreen version. See the following table for the recommended version of XULRunner: + + Evergreen / XULRunner Dependencies + + + + + + Evergreen 1.6.x.x + XULrunner 1.9 + + + Evergreen 1.4.x.x + XULrunner 1.8.0.4 or XULrunner 1.8.0.3 + + + Evergreen 1.2.x.x + XULrunner 1.8.0.4 or XULrunner 1.8.0.3 + + + +
+ If you have issues removing previously installed XULRunner versions see for further information. + The Staff Client data from the directory ./staff_client/build must be placed somewhere on the machine (e.g. ~/Desktop/Evergreen_Staff_Client). Remember to call XULRunner with the full path to the binary, followed by the install command and the path to the client data. See the following command: +
+ Executing XULRunner + + /Library/Frameworks/XUL.framework/xulrunner-bin --install-app ~/Desktop/Evergreen_Staff_Client + +
+ This command should exit quietly. The folder /Applications/OpenILS will be created, containing a launcher named open_ils_staff_client. +
+
+ Removing previously installed XULRunner versions + If you already have a newer version installed, per the release notes, you will need to remove the entire directory /Library/Frameworks/XUL.framework before downgrading. + In addition, you may also need to remove the previous file /Library/Receipts/xulrunner-ver-mak.pkg . + If file /Library/Receipts/xulrunner-ver-mak.pkg does not exist (possibly in newer OSX releases), you need to flush the file receiptdb. + If you install a newer version over a previous (older) install, the older one is not removed but the symlinks are changed to the newer one. +
+ Flush Receiptdb file: + First, get the package identifier, then purge/forget the build that was initially installed:
- Executing XULRunner + Purging previous build - /Library/Frameworks/XUL.framework/xulrunner-bin --install-app ~/Desktop/Evergreen_Staff_Client - -
- This command should exit quietly. A folder will be created, named /Applications/OpenILS, containing a launcher named open_ils_staff_client. - - - Removing previously installed XULRunner versions -
- If you already have a newer version installed, per the release notes, you will need to remove the entire directory /Library/Frameworks/XUL.framework before downgrading. - In addition, you may also need to remove the previous file /Library/Receipts/xulrunner-ver-mak.pkg. - If there is no file /Library/Receipts/xulrunner-ver-mak.pkg (possibly in newer OSX releases) you need to flush the receiptdb file. - If you install a newer version over a previous (older) install, the older one is not removed but the symlinks get changed to the newer one. - First, get the package identifier, then purge/forget the build that was initially installed: -
- Purging previous build - sudo pkgutil --pkgs > /tmp/pkgs.txt sudo pkgutil --forget org.mozilla.xulrunner -
- It may not be necessary to edit the file /Library/Receipts/InstallHistory.plist after deleting the folder XUL.framework. -
-
- - Creating an APP file: Staff Client & XULRunner Bundled - An APP file is basically a folder. Start with a folder stucture like this: -
- Sample APP file folder structure - +
+ It may not be necessary to edit the file /Library/Receipts/InstallHistory.plist after deleting the folder XUL.framework. See http://lists.apple.com/archives/Installer-dev/2009/Jul/msg00008.html for more information. +
+
+
+ Creating an APP file: Staff Client & XULRunner Bundled + An APP file is basically a folder. Start with a folder stucture like this: +
+ Sample APP file folder structure + * Evergreen.app * Contents * Frameworks * Resources * MacOS -
- Create an APP folder structure with the following commands: -
- Creating a folder structure - +
+ Create an APP folder structure with the following commands: +
+ Creating a folder structure + mkdir -p Evergreen.app/Contents/Frameworks mkdir -p Evergreen.app/Contents/Resources mkdir -p Evergreen.app/Contents/MacOS -
- - - - Create a new file in the folder Evergreen.app/Contents/Info.plist containing the following data (adjust for your version of Evergreen): -
- Creating a new file - - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> - <plist version="1.0"> - <dict> - <key>CFBundleExecutable</key> - <string>xulrunner</string> - <key>CFBundleGetInfoString</key> - <string>OpenILS open_ils_staff_client rel_1_6_0_7</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>Evergreen Staff Client</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleShortVersionString</key> - <string>rel_1_6_0_7</string> - <key>CFBundleVersion</key> - <string>rel_1_6_0_7.rel_1_6_0_7</string> - <key>NSAppleScriptEnabled</key> - <true/> - <key>CFBundleTypeIconFile</key> - <string>Evergreen.icns</string> - </dict> - </plist> - -
-
- Download and install an appropriate Mac OS package of XULRunner from the Mozilla website (see above for recommendations). - - Make a copy of /Library/Frameworks/XUL.Framework inside your APP file. It should look something like this: -
- Example of APP file framework - +
+ + + + Create a new file in the folder Evergreen.app/Contents/Info.plist containing the following data (adjust for your version of Evergreen): +
+ Creating a new file + + + + + CFBundleExecutable + xulrunner + CFBundleGetInfoString + OpenILS open_ils_staff_client rel_1_6_0_7 + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Evergreen Staff Client + CFBundlePackageType + APPL + CFBundleShortVersionString + rel_1_6_0_7 + CFBundleVersion + rel_1_6_0_7.rel_1_6_0_7 + NSAppleScriptEnabled + + CFBundleTypeIconFile + Evergreen.icns + + +]]> +
+
+ Download and install an appropriate Mac OS package of XULRunner from the Mozilla website (see above for recommendations). + + Make a copy of the folder /Library/Frameworks/XUL.Framework inside your APP file. It should look something like this: +
+ Example of APP file framework + * Evergreen.app/ __* Contents/ ____* Frameworks/ @@ -207,14 +207,14 @@ ______* libxpcom.dylib -> Versions/Current/libxpcom.dylib ______* xulrunner-bin -> Versions/Current/xulrunner-bin -
-
- Copy XUL.Framework/Versions/Current/xulrunner into Evergreen.app/MacOS (do not symlink; copy the file). - - Make Evergreen.app/Resources the root of your Evergreen application files like this: -
- Example APP file - +
+
+ Copy XUL.Framework/Versions/Current/xulrunner into the folder Evergreen.app/MacOS (do not symlink; copy the file). + + Make Evergreen.app/Resources the root of your Evergreen application files like this: +
+ Example APP file + * Evergreen.app/ __* Contents/ ____* Resources/ @@ -224,20 +224,19 @@ ______* components/ ______* etc. -
-
- Put a Mac format icon file named Evergreen.icns in Resources. -
-
- + + + Put a Mac format icon file named Evergreen.icns in Resources. +
+
Installing on Linux
Quick Upgrade of the Staff Client A Linux Staff Client is automatically built on the server as part of the normal make install process for Evergreen server-side software. To upgrade the Staff Client on a remote workstation with a new version, just copy the directory tree containing the Staff Client from the server to the remote workstation. - The following example assumes you already have an "opensrf" user account on both the server and the remote workstation. Remember to replace "user", "client.linux.machine" and "eg-client-x.x.x.x" with the proper user name, client machine name, and version number in the following example. - As the opensrf user, change directory to the Staff Client source directory, then recursively copy the entire directory tree to the remote workstation: + The following example assumes you already have an opensrf user account on both the server and the remote workstation. Remember to replace "user", "client.linux.machine" and "eg-client-x.x.x.x" with the proper user name, client machine name, and version number in the following example. + As the opensrf user, change directory to the Staff Client source directory, then recursively copy the entire directory tree to the remote workstation:
Copying the Staff Client to a remote workstation @@ -246,7 +245,7 @@ $ scp -r build user@client.linux.machine:~/eg-client-x.x.x.x/
- To test the newly copied Staff Client, as the opensrf user log into the remote workstation and execute it as shown: + To test the newly copied Staff Client, as the opensrf user log into the remote workstation and execute it as shown:
Testing the copied Staff Client @@ -257,9 +256,28 @@
Building the Staff Client on the Server - A Linux Staff Client is automatically built on the server as part of the normal make install process for Evergreen server-side software. - In order to install a compatible Staff Client on another Linux system, just copy the applicable files from the server to that system, or even manually build it on that system. Ensure that the BUILD_ID you choose on the server matches the BUILD_ID for each staff client you use on other systems. - If you will be using a pre-packaged Windows version on some systems, you may want to choose the BUILD_ID on both server and other versions to match that of the Windows Staff Client. To determine which BUILD_ID is used in an existing Staff Client installation, just click "About this Client" on the running Staff Client. + A Linux Staff Client is automatically built on the server as part of the normal make install process for Evergreen server-side software, using a procedure similar to this: +
+ Building the Staff Client on the Server + + $ cd ~/ILS/Open-ILS/xul/staff_client + $ make STAFF_CLIENT_BUILD_ID='12345' + $ mkdir /openils/var/web/xul/ + $ mkdir /openils/var/web/xul/12345/ + $ cd build/ + $ cp -R server/ /openils/var/web/xul/12345/ + +
+ The Staff Client can be run from the build directory using this command: +
+ Running the Staff Client on the Server + + $ su - opensrf + $ xulrunner application.ini + +
+ In order to install a compatible Staff Client on another Linux system, just copy the applicable files from the server to that system, or even manually build it on that system. Ensure that the BUILD_ID you choose on the server matches the BUILD_ID for each Staff Client you use on other systems. + If you will be using a pre-packaged Windows version on some systems, you may want to choose the BUILD_ID on both server and other versions to match that of the Windows Staff Client. To determine which BUILD_ID is used in an existing Staff Client installation, just click About this Client on the running Staff Client. If you are allowed to make changes on the Evergreen server, another option is to create a symbolic link. In order for a copy of the Staff Client and server to work together, the BUILD_ID must match the name of the directory containing the server components of the Staff Client, or the name of a symbolic link to that directory.
Creating a symbolic link @@ -276,7 +294,7 @@ Prerequisites - Both "subversion" and "xulrunner" are required to build the Staff Client. As the root user, use "apt-get" to install packages for "subversion" and "xulrunner". You can also use "synaptic", the graphical user interface for "apt-get". For "subversion", select the latest version; for "xulrunner", select version 1.8.1.4-2ubuntu5. + Both subversion and xulrunner are required to build the Staff Client. As the root user, use apt-get to install packages for subversion and xulrunner. You can also use synaptic, the graphical user interface for apt-get. For subversion, select the latest version; for xulrunner, select version 1.8.1.4-2ubuntu5.
Installing subversion and xulrunner @@ -296,7 +314,7 @@ Download the Code - As the opensrf user, open a terminal (command-line prompt) and navigate to the directory in which you wish to download the Staff Client. Use the following commands to download the proper version of the source code by tag name: + As the opensrf user, open a terminal (command-line prompt) and navigate to the directory in which you wish to download the Staff Client. Use the following commands to download the proper version of the source code by tag name:
Downloading the source code @@ -315,7 +333,7 @@ Evergreen 1.2.x In the following example, navigate to the directory in which the source code was downloaded, then navigate to the proper subdirectory and run the "make" utility to actually build the Staff Client. Remember to check with your system administrator about which Staff Client BUILD_ID to use. The server checks the Staff Client BUILD_ID against itself to determine whether or not a connecting client is supported. For instance, for the PINES installation (version 1.2.1.4) the supported BUILD_ID is "rel_1_2_1_4". Modify the following commands accordingly. - As the opensrf user, run the following commands to build the Staff Client: + As the opensrf user, run the following commands to build the Staff Client:
Finding the downloaded source code @@ -330,19 +348,18 @@ Evergreen 1.4.x The 1.4 series of Evergreen has complicated the build process for the Staff Client a bit. If you downloaded a .tar.gz (compressed tar archive) of Evergreen, then your steps will resemble the following: - FIXME -- Need instructions for getting certain Javascript files from OpenSRF, preferably without actually installing OpenSRF. - + FIXME -- Need instructions for getting certain Javascript files from OpenSRF, preferably without actually installing OpenSRF.
Building 1.4.x - $ su - opensrf - $ wget http://evergreen-ils.org/downloads/Evergreen-ILS-1.4.0.4.tar.gz - $ tar xfz Evergreen-ILS-1.4.0.4.tar.gz - $ cd Evergreen-ILS-1.4.0.4/ - $ ./configure --prefix=/openils --sysconfdir=/openils/conf - $ cd Open-ILS/xul/staff_client/ - $ make STAFF_CLIENT_BUILD_ID='rel_1_4_0_4' install - + $ su - opensrf + $ wget http://evergreen-ils.org/downloads/Evergreen-ILS-1.4.0.4.tar.gz + $ tar xfz Evergreen-ILS-1.4.0.4.tar.gz + $ cd Evergreen-ILS-1.4.0.4/ + $ ./configure --prefix=/openils --sysconfdir=/openils/conf + $ cd Open-ILS/xul/staff_client/ + $ make STAFF_CLIENT_BUILD_ID='rel_1_4_0_4' install +
If you're installing from a Subversion checkout: @@ -363,7 +380,7 @@ Run the Staff Client (from the command line) - As the opensrf user, navigate to the build/ subdirectory (not staff_client/) and run the following command: + As the opensrf user, navigate to the build/ subdirectory (not staff_client/) and run the following command:
Running the Staff Client @@ -374,10 +391,11 @@ (OPTIONAL) Cleaning Up / Creating Shortcuts - The source code download included many files that are needed to build the Staff Client, but are not necessary to run it. You may wish to remove them to save space, or to create a clean directory containing the built staff client that can be copied to other machines. To create a clean "staging" directory in which to place the finished staff client, issue the following commands: + The source code download included many files that are needed to build the Staff Client, but are not necessary to run it. You may wish to remove them to save space, or to create a clean directory containing the built Staff Client that can be copied to other machines. As the opensrf user, issue the following commands to create a clean "staging" directory in which to place the finished Staff Client, and to copy into it the "staff_client" directory:
Creating a "staging" directory + $ su - opensrf $ mkdir ~/<Destination Directory> $ cd ~/<Download Directory>/Open-ILS/xul/ $ cp -r staff_client ~/<Destination Directory> @@ -398,20 +416,14 @@ $ rm -r -f ~/<Download Directory>
- Finally, test the copied Staff Client. You can create "Desktop / Start Menu / K-Menu" shortcuts for the Staff Client by using the following command as the target: -
- Running the copied Staff Client - - $ xulrunner ~/<Destination Directory>/staff_client/build/application.ini - -
+ You may wish to create DesktopStart MenuK-Menu shortcuts for the Staff Client using the command xulrunner ~/<Destination Directory>/staff_client/build/application.ini as the target.
Using Wine to Install On Linux - The Linux application Wine is another alternative for those who wish to install the packaged Windows versions rather than building the Staff Client manually. Wine is a Linux application that allows users to directly run Windows executables, and is a simple way for casual Linux users to use the Staff Client. More information about Wine can be found at http://www.winehq.org/site/docs/wineusr-guide/getting-wine. - As the root user, use "apt-get" to install the package for "wine". You can also use "synaptic", the graphical user interface. + The Linux application Wine is another alternative if you wish to install the packaged Windows versions rather than building the Staff Client manually. Wine is a Linux application that allows users to directly run Windows executables, and is a simple way for casual Linux users to use the Staff Client. More information about Wine can be found at http://www.winehq.org/site/docs/wineusr-guide/getting-wine. + As the root user, use apt-get to install the package for Wine. You can also use synaptic, the graphical user interface. Install wine @@ -424,7 +436,7 @@ Download Windows installer for the Staff Client - As the opensrf user, run the following commands to download the Windows installer for the proper Staff Client from the open-ils.org website and place it in a temporary directory: + As the opensrf user, run the following commands to download the Windows installer for the proper Staff Client from the open-ils.org website and place it in a temporary directory:
Downloading the Staff Client installer @@ -436,7 +448,7 @@ Run the downloaded Windows installer - As the opensrf user, navigate to the directory where you downloaded the Windows executable file, then execute it: + As the opensrf user, navigate to the directory where you downloaded the Windows executable file, then execute it:
Using Wine to run the Windows installer @@ -445,7 +457,7 @@ $ wine evergreen-setup-rel_version-number.exe
- If this step fails, you may need to configure Wine first to properly emulate Windows XP. To do so, type "winecfg" from the command line; in the "Applications" tab of the window that pops up, select "Default Settings" and choose "Windows XP" from the drop-down menu, then click "Apply". + If this step fails, you may need to configure Wine first to properly emulate Windows XP. To do so, type "winecfg" from the command line; in the "Applications" tab of the window that pops up, select "Default Settings" and choose "Windows XP" from the drop-down menu, then click Apply.
Launch the Staff Client @@ -467,7 +479,7 @@
- In order to assign a workstation a name, a user with appropriate permissions must login to the Staff Client. In PINES, the local system administrator (OPSM) has the ability to assign workstation names in his or her library system. Library managers (LIBM's) have the ability within their branch. To assign a workstation a name, login to the system. You will be prompted to assign the workstation a library and a name: + In order to assign a workstation a name, a user with appropriate permissions must login to the Staff Client. In PINES, the local system administrator (OPSM) has the ability to assign workstation names in their library system. Library managers (LIBM's) have the ability within their branch. To assign a workstation a name, login to the system. You will be prompted to assign the workstation a library and a name:
Example of configured Staff Client @@ -479,7 +491,7 @@
- Select the library this workstation physically operates in from the drop down menu. In this example, we have selected "MGRL-MA". Type in a friendly name for the workstation. In this example, we are installing the Staff Client on the director's personal system, and have named it as such. Then hit Register. + Select the library this workstation physically operates in from the drop down menu. In this example, we have selected "MGRL-MA". Type in a friendly name for the workstation. In this example, we are installing the Staff Client on the director's personal system, and have named it as such. Then click Register. Once you have registered your workstation with the server, your screen will look like this:
Example of registered Staff Client @@ -492,7 +504,7 @@
- You are now ready to log into the Staff Client for the first time. Type in your password again, and hit Login. + You are now ready to log into the Staff Client for the first time. Type in your password again, and click Login.
@@ -501,7 +513,7 @@ The Staff Client is automatically built by default as part of the normal make install process for Evergreen server-side software. See the section to review details related to building the Staff Client in the final compile/link/install phase of the default Evergreen build process.
Building the Staff Client - You can also manually build the Staff Client by using the make utility in the Staff Client source directory (e.g., the directory /home/opensrf/Evergreen-ILS-1.6.0.x/Open-ILS/xul/staff_client for the current Evergreen version). There are a number of possible options to manually build special versions of the Staff Client on a Linux system. Following is a list of environment variables that can be passed to make to influence the manual build process: + You can also manually build the Staff Client by using the make utility in the Staff Client source directory (e.g., the directory /home/opensrf/Evergreen-ILS-1.6.0.x/Open-ILS/xul/staff_client for the current Evergreen version). There are a number of possible options to manually build special versions of the Staff Client on a Linux system. Following is a list of environment variables that can be passed to make to influence the manual build process:
Option STAFF_CLIENT_BUILD_ID During the normal make install Evergreen server-side software build process, the variable defaults to an automatically generated date/time string, but you can also override the value of BUILD_ID. @@ -516,7 +528,7 @@ The following commands will manually build the Staff Client using a different BUILD_ID. - As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client: + As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client:
Commands to manually build the Staff Client @@ -542,7 +554,7 @@
The following commands will manually build the Staff Client using a different VERSION. If you plan to make extensions update automatically, the VERSION needs to conform to the format recommended in Toolkit Version Format and newer versions need to be "higher" than older versions. - As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client: + As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client:
Commands to manually build the Staff Client @@ -568,7 +580,7 @@
The following commands will manually build the Staff Client using a different STAMP_ID. It is possible to have multiple versions of the Staff Client by specifying a different STAMP_ID for each, possibly for different uses or client-side customizations. - As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client: + As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client:
Commands to manually build the Staff Client @@ -582,7 +594,7 @@
Advanced Build Options - In addition to the basic options listed above, there are a number of advanced options for building the Staff Client. Most are target names for the make utility and require that you build the Staff Client from its source directory. See the following table for a list of possible make target keywords: + In addition to the basic options listed above, there are a number of advanced options for building the Staff Client. Most are target names for the make utility and require that you build the Staff Client from its source directory. See the following table for a list of possible make target keywords: Keywords Targets for "make" Command @@ -646,8 +658,8 @@ Developer Build - You can create a so-called "developer build" of the Staff Client by substituting "devbuild" for "build" when running make. The build will contain an extra configuration file that enables some developer options. - As the opensrf user, run make from the Staff Client source directory: + You can create a so-called "developer build" of the Staff Client by substituting "devbuild" for "build" when running make. The build will contain an extra configuration file that enables some developer options. + As the opensrf user, run make from the Staff Client source directory:
Commands to do a "developer build" @@ -660,8 +672,8 @@ Compressed Javascript - You can execute the Google "Closure Compiler" utility to automatically review and compress Javascript code after the build process completes, by substituting "compress-javascript" for "build" when running make. For more information see Google "Closure Compiler". - As the opensrf user, run the following commands from the Staff Client source directory: + You can execute the Google "Closure Compiler" utility to automatically review and compress Javascript code after the build process completes, by substituting "compress-javascript" for "build" when running make. For more information see Google "Closure Compiler". + As the opensrf user, run the following commands from the Staff Client source directory:
Commands to compress Javascript @@ -672,7 +684,7 @@
You can also combine Javascript review and compression, and also perform a "developer build". - As the opensrf user, run the following commands from the Staff Client source directory: + As the opensrf user, run the following commands from the Staff Client source directory:
Commands to compress Javascript and do a "developer build" @@ -698,7 +710,7 @@
You can manually set AUTOUPDATE_HOST to set up automatic update checking. The following commands will manually build the Staff Client using a different AUTOUPDATE_HOST. - As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client: + As the opensrf user, change directory to the Staff Client source directory, then set the variable and build the Staff Client:
Commands to manually specify AUTOUPDATE_HOST @@ -715,7 +727,7 @@
Installing and Activating a Manually Built Staff Client The Staff Client is automatically built, installed and activated as part of the normal make install process for Evergreen server-side software. However, if you manually build the Staff Client, then you need to take additional steps to properly install and activate it. You also have the option of installing the Staff Client on the same machine it was built on, or on a different machine. - Assuming you have already built the Staff Client, and that your installation is in the directory /openils/var/web/xul, as the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + Assuming you have already built the Staff Client, and that your installation is in the directory /openils/var/web/xul, as the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands to install the Staff Client on the same machine @@ -728,12 +740,12 @@
Packaging the Staff Client - Once the Staff Client has been built, you can create several forms of client packages by using some targetted make commands in the Staff Client source directory. + Once the Staff Client has been built, you can create several forms of client packages by using some targetted make commands in the Staff Client source directory. Packaging a Generic Client - This build creates a Staff Client packaged as an XPI file to use with XULRunner. It requires that you already have the "zip" utility installed on your system. It will create the output file "evergreen_staff_client.xpi", suitable for use with the XULRunner parameter --install-app. - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + This build creates a Staff Client packaged as an XPI file to use with xulrunner. It requires that you already have the "zip" utility installed on your system. It will create the output file "evergreen_staff_client.xpi", suitable for use with the xulrunner parameter --install-app. + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands to package a "generic" client @@ -747,7 +759,7 @@ Packaging a Windows Client This build creates a Staff Client packaged as a Windows executable. It requires that you already have the "unzip" utility installed on your system. It also requires that you install NSIS (Nullsoft Scriptable Install System), a professional open source utility package used to create Windows installers (the "makensis" utility is installed as part of the "nsis" package). We recommend using Version 2.45 or later. This build will create the output file "evergreen_staff_client_setup.exe". - (OPTIONAL) If you wish for the Staff Client to have a link icon/tray icon by default, you may wish to provide a pre-modified xulrunner-stub.exe. Place it in the Staff Client source directory and make will automatically use it instead of the one that comes with the downloaded XULRunner release. The version of xulrunner-stub.exe need not match exactly. + (OPTIONAL) If you wish for the Staff Client to have a link icon/tray icon by default, you may wish to provide a pre-modified xulrunner-stub.exe. Place it in the Staff Client source directory and make will automatically use it instead of the one that comes with the downloaded XULRunner release. The version of xulrunner-stub.exe need not match exactly. (OPTIONAL) You can also use a tool such as Resource Hacker to embed icons. "Resource Hacker" is an open-source utility used to view, modify, rename, add, delete and extract resources in 32bit Windows executables. See the following table for some useful icon ID strings:
Useful icon ID strings @@ -766,7 +778,7 @@
- As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands to build a Windows client @@ -779,8 +791,8 @@ Packaging a Linux Client - This build creates a Staff Client package for Linux as a "tar.bz2" file with XULRunner already bundled with it. It creates the output file "evergreen_staff_client.tar.bz2". - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + This build creates a Staff Client package for Linux as a "tar.bz2" file with XULRunner already bundled with it. It creates the output file "evergreen_staff_client.tar.bz2". + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands to build a Linux client @@ -794,7 +806,7 @@ Packaging a Firefox Extension This build requires that you already have the "zip" utility installed on your system. It creates a Staff Client packaged as a Firefox extension and creates the output file "evergreen.xpi". - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands to build a Firefox extension @@ -812,13 +824,13 @@ It is possible to set up support for automatic Staff Client updates, either during the normal Evergreen server-side build process, or by manually building the Staff Client with certain special options.
WARNINGS - Automatic update server certificate requirements are more strict than normal server requirements. Firefox and XULRunner will both ignore any automatic update server that is not validated by a trusted certificate authority. Servers with exceptions added to force the Staff Client to accept them WILL NOT WORK. - In addition, automatic updates have special requirements for the file update.rdf: + Automatic update server certificate requirements are more strict than normal server requirements. Firefox and XULRunner will both ignore any automatic update server that is not validated by a trusted certificate authority. Servers with exceptions added to force the Staff Client to accept them WILL NOT WORK. + In addition, automatic updates have special requirements for the file update.rdf: It must be served from an SSL server, or It must be signed with the McCoy tool. - You can pre-install the signing key into the file install.rdf directly, or install it into a copy as install.mccoy.rdf. If the latter exists it will be copied into the build instead of the original file install.rdf. + You can pre-install the signing key into the file install.rdf directly, or install it into a copy as install.mccoy.rdf. If the latter exists it will be copied into the build instead of the original file install.rdf.
Autoupdate Host @@ -831,7 +843,7 @@ At configuration time for the normal build of Evergreen server-side software - This must be done when the Evergreen server-side software is first configured (see the section ). As the opensrf user, use the utility "configure" as shown: + This must be done when the Evergreen server-side software is first configured (see the section ). As the opensrf user, use the utility "configure" as shown:
Commands to configure Evergreen @@ -852,9 +864,9 @@
Building Updates - Similar to building clients, the targets "generic-updates", "win-updates", "linux-updates", and "extension-updates" can be used individually with make to build the update files for the Staff Client. To build all the targets at once, simply use the target "updates". - A "full" update will be built for each specified target (or for all if you use the target "updates"). For all but extensions any previous "full" updates (archived by default in the directory /openils/var/updates/archives) will be used to make "partial" updates. Partial updates tend to be much smaller and will thus download more quickly, but if something goes wrong with a partial update the full update will be used as a fallback. Extensions do not currently support partial updates. - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + Similar to building clients, the targets "generic-updates", "win-updates", "linux-updates", and "extension-updates" can be used individually with make to build the update files for the Staff Client. To build all the targets at once, simply use the target "updates". + A "full" update will be built for each specified target (or for all if you use the target "updates"). For all but extensions any previous "full" updates (archived by default in the directory /openils/var/updates/archives) will be used to make "partial" updates. Partial updates tend to be much smaller and will thus download more quickly, but if something goes wrong with a partial update the full update will be used as a fallback. Extensions do not currently support partial updates. + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands for building updates @@ -881,7 +893,7 @@ Building updates with clients To save time and effort you can build updates and manual download clients at the same time by adding the string "-client" to each target name. For instance, you can specify "win-updates-client". You can also specify "updates-client" to build all the targets at once. This does not work for extension-updates. The clients will be installed alongside the updates and listed on the "manualupdate.html" page, rather than left in the Staff Client directory. - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Commands for building updates with clients @@ -905,9 +917,9 @@
Activating the Update Server This section reviews scripts associated with the update server, and requires some final adjustments to file permissions. - The Apache example configuration creates an "updates" directory that, by default, points to the directory /openils/var/updates/pub. This directory contains one HTML file and several specially-named script files. - The "updatedetails.html" file is the fallback web page for the update details. The "check" script is used for XULRunner updates. The "update.rdf" script is used for extension updates. The "manualupdate.html" script checks for clients to provide download links when automatic updates have failed and uses the download script to force a download of the generic client XPI (compared to Firefox trying to install it as an extension). - The following scripts should be marked as executable: check, download, manualupdate.html, update.rdf. As the root user, change directory to the updates directory, then execute the following commands: + The Apache example configuration creates an "updates" directory that, by default, points to the directory /openils/var/updates/pub. This directory contains one HTML file and several specially-named script files. + The "updatedetails.html" file is the fallback web page for the update details. The "check" script is used for XULRunner updates. The "update.rdf" script is used for extension updates. The "manualupdate.html" script checks for clients to provide download links when automatic updates have failed and uses the download script to force a download of the generic client XPI (compared to Firefox trying to install it as an extension). + The following scripts should be marked as executable: check, download, manualupdate.html, update.rdf. As the root user, change directory to the updates directory, then execute the following commands:
Changing file permissions of scripts @@ -922,10 +934,10 @@ Other tips
Multiple workstations on one install - Multiple workstation registrations for the same server can be accomplished with a single Staff Client install by using multiple profiles. When running XULRunner you can specify the option "-profilemanager" or "-P" (uppercase "P") to force the Profile Manager to start. Unchecking the "Don't ask at startup" option will make this the default. + Multiple workstation registrations for the same server can be accomplished with a single Staff Client install by using multiple profiles. When running XULRunner you can specify the option "-profilemanager" or "-P" (uppercase "P") to force the Profile Manager to start. Unchecking the "Don't ask at startup" option will make this the default. Once you have opened the Profile Manager you can create additional profiles, one for each workstation you wish to register. You may need to install SSL exceptions for each profile. When building targets "win-client", "win-updates-client", or "updates-client", you can specify "NSIS_EXTRAOPTS=-DPROFILES" to add an "Evergreen Staff Client Profile Manager" option to the start menu. - As the opensrf user, change directory to the Staff Client source directory, then execute the following commands: + As the opensrf user, change directory to the Staff Client source directory, then execute the following commands:
Command to add start menu option @@ -939,15 +951,15 @@
Multiple Staff Clients This may be confusing if you are not careful, but you can log in to multiple Evergreen servers at the same time, or a single Evergreen server multiple times. In either case you will need to create an additional profile for each additional server or workstation you want to log in as (see previous tip). - Once you have created the profiles, run XULRunner with the option "-no-remote" (in addition to "-profilemanger" or "-P" if neeeded). Instead of XULRunner opening a new login window on your existing session it will start a new session instead, which can then be logged in to a different server or workstation ID. + Once you have created the profiles, run XULRunner with the option "-no-remote" (in addition to "-profilemanger" or "-P" if neeeded). Instead of XULRunner opening a new login window on your existing session it will start a new session instead, which can then be logged in to a different server or workstation ID.
Running the Staff Client - Run the Staff Client on a Linux system by using the application XULRunner (installed automatically and by default with Firefox version 3.0 and later on Ubuntu and Debian distributions). - For example, if the source files for the Evergreen installation are in the directory /home/opensrf/Evergreen-ILS-1.6.0.7/, start the Staff Client as shown in the following command example: + Run the Staff Client on a Linux system by using the application XULRunner (installed automatically and by default with Firefox version 3.0 and later on Ubuntu and Debian distributions). + For example, if the source files for the Evergreen installation are in the directory /home/opensrf/Evergreen-ILS-1.6.0.7/, start the Staff Client as shown in the following command example:
Commands to run the Staff Client @@ -963,10 +975,10 @@ There are several reasons for sending network traffic for the Staff Client through an SSH proxy: - Firewalls may prevent you from reaching the server. This may happen when you are connecting the Staff Client to a test server that should not be available generally, or it may be the result of network design priorities other than ease of use. + Firewalls may prevent you from reaching the server. This may happen when you are connecting the Staff Client to a test server that should not be available generally, or it may be the result of network design priorities other than ease of use. - You may wish to improve security where Staff Client traffic may be susceptible to network eavesdropping. This is especially true when wireless is otherwise the best option for connecting a staff machine to the network. + You may wish to improve security where Staff Client traffic may be susceptible to network eavesdropping. This is especially true when wireless is otherwise the best option for connecting a staff machine to the network.
@@ -989,7 +1001,7 @@ Use the menu on the left to go to Connection > SSH > Tunnels. Enter ''9999'' in the "Source port". Choose "Dynamic". Do not enter anything in the Destination text entry box. - Click the "Add" button. "D9999" will now appear in the "Forwarded ports" list. + Click Add; "D9999" will now appear in the "Forwarded ports" list. Use the menu on the left to go back to "Session", and enter the host name of the SSH server. A window will open up so that you can enter your username and password. Once you are logged in, the tunnel is open. @@ -997,7 +1009,7 @@
Configuring the Staff Client to Use the SSH Tunnel - In order to tell the Staff Client that all traffic should be sent through the SSH tunnel just configured, you must edit the file C:\Program Files\Evergreen Staff Client\greprefs\all.js. Search this file for the word socks to find the appropriate section for the following changes. + In order to tell the Staff Client that all traffic should be sent through the SSH tunnel just configured, you must edit the file C:\Program Files\Evergreen Staff Client\greprefs\all.js. Search this file for the word socks to find the appropriate section for the following changes.
The SOCKS section of "all.js" before changes @@ -1011,8 +1023,8 @@
Make the following changes: - Change the value of network.proxy.socks from "" to "localhost". - Change the value of network.proxy.socks_port from "0" to 9999. + Change the value of network.proxy.socks from "" to localhost. + Change the value of network.proxy.socks_port from 0 to 9999.
The SOCKS section of "all.js" after changes -- 2.43.2