######################################################################## ## To run the ruby-tmpl tests offline ## ######################################################################## To run the tests offline simply type "make test" from docs/. If the tests are successful, then you should see the following output: Testing installation....tests successful. If the tests fail, please report the output to the ruby-tmpl-devel mailing list. ######################################################################## ## Install ruby-tmpl test files for online testing ## ######################################################################## To install install these tests/examples, please do the following and adjust the template path in test.rbx as necessary: cp ../src/ruby-tmpl.rb /www/data/host.example.com/site_ruby cp tmpl/test.tmpl /www/data/host.example.com/tmpl cp tmpl/include_tmpl.tmpl /www/data/host.example.com/tmpl cp tmpl/include_recursive.tmpl /www/data/host.example.com/tmpl cp tmpl/include_recursive2.tmpl /www/data/host.example.com/tmpl cp tmpl/include_widget.tmpl /www/data/host.example.com/tmpl cp tmpl/include_docs.tmpl /www/data/host.example.com/docs cp test.rbx /www/data/host.example.com/docs chmod 755 /www/data/host.example.com/docs/test.rbx ######################################################################## ## To run the ruby-tmpl tests online ## ######################################################################## Point your browser to, where host.example.com is the name/IP of your server: http://host.example.com/test.rbx If you would like to see an example of what test.rbx should produce, please visit the following URL or find it at the ruby-tmpl homepage. http://ruby-tmpl.sourceforge.net/test-rbx.html ######################################################################## ## Definitions ## ######################################################################## docs = vhost's DOCROOT (aka: htdocs) site_ruby = vhost's site_ruby directory tmpl = vhost's template directory