Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dockerfile for testing (braintree#160)
# What Add a Dockerfile containing setup for repeatable local development on cpairs. # Why Setting a cpair up to develop on server SDKs is tedious. The instance has to be setup, and the setup instructions in the [internal wiki](https://internal.braintreepayments.com/display/DEV/Client+Library+Development+Tips) don't work verbatim on cpairs, so it's a time consuming activity to get setup. Instead of assuming cpairs are setup or expecting developers to manually set them up, lets move that into a Dockerfile so it is predictable and documented in code. # Example Run gateway on cpair: ``` drake exec --target authy dbdo drake exec --target provisioner dbdo drake exec --target arbiter dbdo drake exec --target integrations dbdo drake exec dbdo drake exec rake db:populate_cosmos_data drake up -d authy drake up -d provisioner drake up -d arbiter drake up -d integrations drake up ``` Open console in docker container and run make ``` make # rake ```
- Loading branch information