wview Quick Start Guide for Macintosh

Oct. 20, 2009

Purpose

This guide will provide the basic procedure for a "standard" wview install. Detailed description of the steps, advanced configuration of features and troubleshooting tips are found in the wview User Manual. Also, please see the wview homepage for a detailed description of wview, the latest news on releases, the wview User's Forum and other interesting links.

Mac OSX Requirements

System Requirements

Weather Station - one of the following:

Install Procedure

      Note: execute these commands in a terminal session while logged into an account 
            with administration privileges - the sudo command requires you to enter your 
            password before it will execute the command following it.
      
      1)  Install wview directly from MacPorts: 

          sudo port install wview
      
      2)  If a new Vantage Pro station, use the on-screen console configuration 
          wizard
      
      3)  Configure wview: 

          Note: Refer to Chapter 6 of the wview User Manual for new browser-based
                configuration options.

          > sudo /opt/local/bin/wviewconfig

      4)  Configure wview HTML Templates:

          > sudo /opt/local/bin/wviewhtmlconfig

      5)  Run wview: 

          > sudo /sbin/SystemStarter start "wview"
          
          Note: You can stop or restart wview as follows:
          sudo /sbin/SystemStarter stop "wview"
          sudo /sbin/SystemStarter restart "wview"
      
      6)  See wview startup and run logs:

          > sudo tail -n 100 -f /var/log/system.log
          
          Note: Unless you configured wview to include ftp, ssh, alarms or CWOP 
                support, these daemons will start up, determine they are disabled, 
                then exit. This is normal behavior. 

      7)  Confirm proper operation:

          > sudo ps aux | grep wv
          (you should see at least "wviewd_[station]" - maybe others if you enabled them)

          > sudo ps aux | grep htmlgend
          (you should see "htmlgend")

          You should see the log message "doing initial html generation now..." 
          at the end of the wview initialization log messages.

          > ls -al /opt/local/var/wview/img/index.html
          (you should see the file listed)

          Open /opt/local/var/wview/img/index.html with your favorite browser - this is your 
          new wview homepage.