-
First, clone
travis-ci
into the same directory astravis-api
:$ git clone https://github.com/travis-ci/travis-api.git
-
Next, creat symbolic link
travis-api/db
pointing totravis-core/db
:$ ln -s travis-core/db travis-api/db
-
Run Rake tasks
bundle exec rake db:create db:structure:load
-
Clone
travis-logs
and copy thelogs
database (assume the PostgreSQL user ispostgres
):cd .. git clone https://github.com/travis-ci/travis-logs.git cd travis-logs rvm jruby do bundle exec rake db:migrate # `travis-logs` requires JRuby psql -c "DROP TABLE IF EXISTS logs CASCADE" -U postgres travis_development pg_dump -t logs travis_logs_development | psql -U postgres travis_development
Last active
August 29, 2015 14:28
-
-
Save BanzaiMan/fbae2308673193ba3b24 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment