Leaqweb is a web application which manages the leaq database
It is based on Rails 3.2 and can be installed on a server or a desktop machine.
The following instructions describe how to install the application on an ubuntu machine (it also works on Mac OS X with few adjustments, for Windows see below).
-
Install ruby 1.9.2 with RVM (http://beginrescueend.com/)
-
Configure the database (if you want to use mysql)
-
Configure the database (if you want to use sqlite)
-
Clone the repository
-
Adjust conf/database.yml to your configuration
-
Install gems and setup database
-
Install R (output management)
-
Solver requirements
You need GLPK > 4.45 or GAMS + an LP solver (CBC, CPLEX, XPRESS, MOSEK...):
# sudo apt-get install glpk-utils
-
Run it
firefox http://127.0.0.1:3000
-
Install railsinstaller [http://railsinstaller.org]
-
Open a Terminal (Start-> Execute...-> "cmd.exe")
-
Go somewhere to download the application
-
Clone the repository, configure and install gems (follow the post-installation instructions given by bundle install):
-
Run it
-
Go to http://localhost:3000 in your browser
The default user, created via rake db:seed, is
# email: [email protected]
# password: password
The code is licensed to the MIT License (MIT). See the LICENSE file for the full license. Copyright (c) 2009-2012 Public Research Center Henri Tudor
Laurent Drouet