¿Quién cobra la obra?
HTML Ruby CSS CoffeeScript JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
source
test
vendor/assets
.gitignore Use rollup generated d3-bundle instead of d3 file modules Nov 10, 2016
.ruby-version
Gemfile Move merge script from Box into repo, as it is closely related to loa… Nov 1, 2016
LICENSE
README.md
Rakefile
config.ru
package.json
rollup-entry.js
rollup.config.js

README.md

System dependencies

  • Ruby 2.2
  • Rails 4.2.4
  • Postgres 9.3+

Installing the app

Install required gems:

$ bundle install

In OS X, if using Postgres.app as the database, the 'pg' gem may throw an error. If so, install it manually specifying the path to Postgres.app.

Install JS dependencies:

$ npm install

Create the database:

$ rake db:create

Create the first user (admin@quiencobralaobra.es / password) using the DB seeds:

$ rake db:seed

Then load a small subset of real contract data, which will automatically create a number of public authorities and bidders:

$ rake data:import_awards[db/awards.csv]

Load UTE-companies mapping:

$ rake data:import_utes