diff --git a/README.md b/README.md index ae3cd31..bea8019 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,9 @@ Running ----------- 1. Create a GitHub account for your BitHub server. +1. Create a GitHub personal access token with access to the repos you intend to use with BitHub. 1. Create a Coinbase account for your BitHub server. +1. Create a Coinbase API key with API v1 permissions `balance`, `user`, and `transactions`. 1. Add the above credentials to `config/sample.yml` 1. Execute `$ java -jar target/BitHub-0.1.jar server config/yourconfig.yml` @@ -33,11 +35,12 @@ Deploying To Heroku ``` $ heroku create your_app_name -$ heroku config:set GITHUB_USER=your_bithub_username -$ heroku config:set GITHUB_TOKEN=your_bithub_authtoken +$ heroku config:set GITHUB_USER=your_github_username +$ heroku config:set GITHUB_TOKEN=your_github_authtoken $ heroku config:set GITHUB_WEBHOOK_PASSWORD=your_webhook_password $ heroku config:set GITHUB_REPOSITORIES="[{\"url\" : \"https://github.com/youraccount/yourrepo\"}, {\"url\" : \"https://github.com/youraccount/yourotherrepo\"}]" -$ heroku config:set COINBASE_API_KEY=your_api_key +$ heroku config:set COINBASE_API_KEY=your_coinbase_api_key +$ heroku config:set COINBASE_API_SECRET=your_coinbase_api_secret $ heroku config:set ORGANIZATION_NAME=your_organization_name $ heroku config:set DONATION_URL=your_donation_url $ git remote add your_heroku_remote