Advertnet is a tool for managing multiple networks of advertising boards, ready to work with SecondLife.
Deploy the Rails application using the "advertnet-install" binary. This binary is located in the "bin" directory of the standard gem location ("/var/lib/gems/1.8/bin" on Debian for example). You should add this directory to your PATH to facilitate the use of gems.
advertnet-install --directory /opt/advertnet
This application needs a MySQL 5.0 database, and a Second Life environment.
After installing MySQL, create 3 databases:
The default "config/database.yml" is configured to use the "root" account without a password. You must eventually edit it in order to change the login or add a password.
For example, you can create a user, for example advertnet and give it read/write access (select, insert, update, create table, drop table, alter table, etc.) on the 3 databases.
Basic MySQL configuration
Run the following commands as root (for example on a Debian system):
for i in development test production ; do mysqladmin -u root create advertnet_$i ; done
Now create the SQL tables, run these commands from Advertnet‘s root directory:
rake db:migrate RAILS_ENV=development
rake db:migrate RAILS_ENV=production
Testing the configuration
To ensure that the application works correctly, first run the following commands:
Note: There is at least one unit test that is known to fails, other unit tests and all functional tests should pass correctly.
What's New in This Release:
· More precise installation instructions
· Add link to Advertnet website
· Add link to project sponsors