¿Quién cobra la obra?
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
source
test
vendor/assets
.gitignore
.node-version
.ruby-version
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
package-lock.json
package.json
rollup-entry.js
rollup.config.js

README.md

###System dependencies

  • Ruby 2.5.1
  • Rails 4.2.10
  • 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 (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