A demo is available here: https://njlochner.com (this project is my website).
You can see the source browser by viewing my repository for my CSAir project (https://njlochner.com/projects/CSAir/CSAir.py.html), or my Java Chess project (https://njlochner.com/projects/Java_Chess/Chess.iml.html). Comments are not currently enabled.
Portfolio for Subversion projects written with Ruby. Includes a file browser for all files in the projects, capable of showing past revisions.
Parses SVN log and list XML data to render the portfolio. Also allows viewers to comment on each project, storing the comments in a MySQL database.
You must specify the base URL, source cache directory, and archive directory of the projects.
You must also specify the MySQL database information for comments.
Instructions for configuring the MySQL database can be found in 'SCHEMA/README.txt'
- ruby sinatra for the server: http://www.sinatrarb.com/
- xml-simple for XML parsing: https://github.com/maik/xml-simple
- htmlentities for HTML escaping: https://github.com/threedaymonk/htmlentities
- rubyzip for zipping source archives: https://github.com/rubyzip/rubyzip
- mysql for MySQL database queries: https://rubygems.org/gems/mysql
- jQuery: http://jquery.com/
- Bootstrap for CSS/JS theme: http://getbootstrap.com/
- google code prettify for displaying source code: https://code.google.com/p/google-code-prettify/
- With adapted tomorrow theme: http://jmblog.github.io/color-themes-for-google-code-prettify/tomorrow/
- fancybox for displaying images: http://fancybox.net/
- Modified CSS for displaying comments: http://codepen.io/magnus16/pen/buGiB
Copyright 2014-2015 Nicholas Lochner
Licensed under the GNU GPL v3: http://www.gnu.org/copyleft/gpl.html