BlackNova Traders


INSTALLATION

1. Untar the distribution (be sure to untar the subdirectories):  
   tar xvf bnt-x.x.x.tar
2. Edit the file config_local.php in you favourite editor and change the values
   for gameroot, host, user, and password to fit your host/MySQL environment.
   Also check for other configuration variables specific to your installation
   (such as adminpass and admin_mail for example). If you use a non-standard
   port or UNIX socket for MySQL, also look at the $dbport variable.
3. Create the database:  
	mysqladmin -uuser -ppass create dbname
4. Open the file <www.your-host>/<install-dir>/create_universe.php in
   your browser.  You'll need to enter your admin password to access this
   page.  Change the settings to suit the universe you'd like to create -
   and go for it. 
5. Open the file <www.your-host>/<install-dir>/index.php in your browser
   - you should now be able to log-in.
6. CRON jobs - here's a copy of my crontab:

*/6 * * * * /usr/bin/lynx --dump http://blacknova.net/sysupdate.php?swordfish=changeme > /dev/null
*/15 * * * * /usr/bin/lynx --source http://blacknova.net/genrank.php > /home2/blacknova/www/ranking.php
*/6 * * * * /bin/touch /home2/blacknova/cron.txt

   Make sure "changeme" is changed to your admin password, change the 
   path for cron.txt matches whatever is in main.php ... this allows
   users to see how long it has been since the last update. 
   The genrank.php line creates ranking.php for users to see the top 100
   rankings in order to lessen load on the server.
7. Create a directory in the blacknova directory called player-log.  It should
   be given read-write-execute permissions so the user that your webserver 
   runs as can modify the files in player-log and delete files from that
   directory.
8. Hopefully - it works now. :)


BUG REPORTS AND SUPPORT

Bug reports and support request should be submitted on the BlackNova Traders
SourceForge page:

	http://www.sourceforge.net/projects/blacknova


Regards,

Ron Harwood <harwoodr@blacknova.net>
