Sha256: af605a29d00e486979957ef2a86074ed97aa3260e90926187c2baeca22b8be88

Contents?: true

Size: 908 Bytes

Versions: 9

Compression:

Stored size: 908 Bytes

Contents

# Developer setup

* You will need to install Ruby 2.4, and preferably a ruby version manager. I recommend using [chruby][chruby] and [ruby-install][ruby-install].
* Install bundler (the Ruby gem dependency manager) `gem install bundler`
* Check out the pact_broker repository and cd into it.
* Run `bundle install`. If you have not got mysql or postgres installed locally, comment out the `mysql2` and `pg` development dependency lines in `pact_broker.gemspec`, as these are only really required on Travis.
* Run `bundle exec rake pact_broker:dev:setup`. This will create an example application that you can run locally, that uses the local source code.
* To run the example:

      cd dev
      bundle install
      bundle exec rackup

* The application will be available on `http://localhost:9292`

[chruby]: https://github.com/postmodern/chruby
[ruby-install]: https://github.com/postmodern/ruby-install

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pact_broker-2.33.0 DEVELOPER_SETUP.md
pact_broker-2.32.0 DEVELOPER_SETUP.md
pact_broker-2.31.0 DEVELOPER_SETUP.md
pact_broker-2.30.0 DEVELOPER_SETUP.md
pact_broker-2.29.0 DEVELOPER_SETUP.md
pact_broker-2.27.6 DEVELOPER_SETUP.md
pact_broker-2.27.5 DEVELOPER_SETUP.md
pact_broker-2.27.4 DEVELOPER_SETUP.md
pact_broker-2.27.3 DEVELOPER_SETUP.md