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 (a working installation of Node needed):
$ 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