Sha256: d096d7a6149d9270a84eaf4c681bdca3abd0bc33a8c250f13a285426af07dfe1

Contents?: true

Size: 887 Bytes

Versions: 5

Compression:

Stored size: 887 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 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

5 entries across 5 versions & 1 rubygems

Version Path
pact_broker-2.27.2 DEVELOPER_SETUP.md
pact_broker-2.27.0 DEVELOPER_SETUP.md
pact_broker-2.26.1 DEVELOPER_SETUP.md
pact_broker-2.26.0 DEVELOPER_SETUP.md
pact_broker-2.25.0 DEVELOPER_SETUP.md