Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
About ____________________ Cornichon is an alternative or additional web front-end for the DiLL lab system that provides feedback and review functionality, and was developed at the University of Michigan and Grand Valley State University. Cornichon is not supported by or otherwise associated with Northwestern University or DiLL. All support requests should be directed through this project's Git repository at http://github.com/itsalljustaride/Cornichon or at the project page at http://www.itsalljustaride.com/?page_id=295 Installation ____________________ Cornichon is a Ruby on Rails app, and as such it requires a bit more setup than, for instance, a PHP app might. It is assumed that anyone installing Cornichon will have a Mac OSX based server, as that is what DiLL itself operates on. The good news is that OSX comes with many of the components necessary to run Cornichon out of the box. Setup procedure: Install Git: http://git-scm.com/ Clone from Git: git clone git://github.com/itsalljustaride/Cornichon.git Make sure Postgres is in PATH ($which postgres - should output location) Install required gems: sudo rake gems:install If pg gem fails, make sure ARCHFLAGS is set depending on 32 or 64 bit Both PostgreSQL and Ruby must be running the same architecture (32 or 64-bit). A mismatch will cause the Ruby pg gem to fail to install. Set up passenger as gem describes (sudo gem install passenger). Edit httpd.conf and virtual host passenger prefs to point to webserver/documents Copy config/database.yml.default to config/database.yml and edit with your info Create the production database: sudo rake db:create RAILS_ENV=production Run rake migration: sudo rake db:migrate run to test: ./script/server If can access at localhost:3000 we can proceed with setting up apache If everything is good, run: sudo apachectl graceful This will refresh Apache and you should see Cornichon running at http://servername/cornichon License ____________________ COPYRIGHT 2010 GRAND VALLEY STATE UNIVERSITY AND THE REGENTS OF THE UNIVERSITY OF MICHIGAN ALL RIGHTS RESERVED PERMISSION IS GRANTED TO USE, COPY, AND CREATE DERIVATIVE WORKS OF THIS SOFTWARE FOR NONCOMMERCIAL EDUCATION AND RESEARCH PURPOSES, SO LONG AS NO FEE IS CHARGED, AND SO LONG AS THE COPYRIGHT NOTICE ABOVE, THIS GRANT OF PERMISSION, AND THE DISCLAIMER BELOW APPEAR IN ALL COPIES MADE; AND SO LONG AS THE NAME OF NEITHER THE UNIVERSITY OF MICHIGAN NOR GRAND VALLEY STATE UNIVERSITY ARE USED IN ANY ADVERTISING OR PUBLICITY PERTAINING TO THE USE OF THIS SOFTWARE WITHOUT SPECIFIC, WRITTEN PRIOR AUTHORIZATION. THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE UNIVERSITY OF MICHIGAN OR GRAND VALLEY STATE UNIVERSITY AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OR GRAND VALLEY STATE UNIVERSITY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. NEITHER THE REGENTS OF THE UNIVERSITY OF MICHIGAN NOR GRAND VALLEY STATE UNIVERSITY SHALL BE LIABLE FOR ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN IF THEY HAVE BEEN OR ARE HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.