
To build, just type 
	make
Then to install type
	make install
This command will place vproweather in /usr/local/bin/ by deafult and 
install the man page and copy documentation in docs/share/vproweather/
into /usr/local/docs/share/vproweather/

You must use the commands in the above order to compile the code, you 
cannot just do a 'make install' 

NOTE: When compiled for use with a mySQL DB you must use the -O option
when you are using the -E option to store the data in the database if 
you also would like the data output to STDOUT.

To test:

./vproweather -Mxt /dev/ttyS0

(Where ttyS0 is the serial port you have your VPro connected to. You
should see the real time data displayed on your screen.)

If your Vantage Pro Console is properly connected you will see the 
Real Time data outputted. It is suggested the you do the 'make' then
run the above command to verify operation then do the 'make install'

If you have a valid ~/.my.cnf file and you want to store the data in
the database you will need to use this to test:

./vproweather -EOMxt /dev/ttyS0

Again, if your Vantage Pro Console is properly connected yo will see
the Real Time data outputted and the data will have been stored in the
MySQL database if the database has already been created.

To create the mySQL database see the instructions in the mySQL-DB 
directory and in the docs/share/vproweather/

If compiled with mySQL support which is the default vproweather will use 
~/.my.cnf for DB access defaults if the section for vproweather is 
included in the ~/.my.cnf file.

Sample .my.cnf file contents:

[vproweather]
user=wman
password=myPassWord
host=server.mydomain.com
database=Weather

See the mySQLnames.h include file for specifying DB Table and Column 
names but it is highly suggested that they not be altered unless you 
alter them in the MySQL database and compile vproweather with them. 
Any changes must be made either before the database is created in the 
WeatherDB-11.5.sql file or by MySQL ALTER commands after the database
has been created.

