[Prev] [Next] [Top] [Bottom] [Contents] (2 out of 4)

Overview

This chapter provides a description of the scripts, and files included in the distribution of Sapphire/Web.

To make sure that Sapphire/Web is running properly, there are five scripts, with a brief description of their functions. For a more detailed description of the Scripts, see the Sapphire/Web Reference Manual.

Here is an abbreviated list of the Scripts:

saweb.sh

Runs Sapphire/Web

saedithtml.sh

Edits an HTML document with an associated editor

sabrowser.sh

Runs the associated web browser

samakes.sh

Compiles the project with a C or C++ compiler

satest.sh

Installs the completed project to a test site

Testing Sapphire's access to the Tools

The previous five scripts each refer to various tools that should be present on your system. The purpose of this section is to make sure that Sapphire/Web knows how to access these various tools.

saweb.sh

Make sure the SAPPHIRE environment variable is set. This tells the shell where Sapphire/Web is located.

C Shell
setenv SAPPHIRE dir_where_sapphire_is
Bourne/Korn Shell:
SAPPHIRE=dir_where_sapphire_is; export SAPPHIRE	
If you have not already done so, please run:

$SAPPHIRE/Install					
This script will also check for database configuration and set up libraries under SunOS or Solaris.

Step 1. Run:
$SAPPHIRE/saweb.sh
This will bring up the Sapphire/Web

saedithml.sh

Step 1. Once you are in Sapphire/Web, the first thing to test is whether the HTML editor is accessible.
From the Project Window, click on the Document Manager button
or
select the menu item Tools->Document Manager.

The Document Manager Window pops-up.....

Figure 3-1 Document Managers' Create New HTML Icon

Step 2. Click on the second icon which is the Create New HTML, in the text field then type
test.html
Click OK.
If your editor comes up with an HTML template, this script is correct. Please skip to the sabrowser.sh section.


[Prev] [Next] [Top] [Bottom] [Contents] (2 out of 4)