Skip to content

Commit

Permalink
Update readme instructions (for generating the app key and secret) (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
monostere0 committed Jan 30, 2018
1 parent b533900 commit 7a734e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ just like you'd browse them through your crates :)


#### How to start the app
- Checkout the repo
- Check out the repo
- `yarn` or `npm i`
- Go to discogs.com, the settings page > developers and create a new app (after you have logged in). The "Callback URL" field should be set to `soundscrate://`. After you create the application, you should see a page which contains the "Consumer Key" and "Consumer Secret" tokens. Copy them over to the [config](app/conf.js). The "Consumer Key" should be a value for the `key` field and the "Consumer Secret" should correspond to the `secret` field.
- Make sure you have react native cli installed globally, and do `react-native run-ios` or `react-native run-android` in the root directory of the project.
- Happy browsing!
4 changes: 2 additions & 2 deletions app/conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
export default {
discogs: {
oauth: {
key: 'WieOJMYurdVQKBkKEwLM',
secret: 'FarETUZNWCIBSQraJlbGzQgXEogVplMC',
key: 'YOUR_CONSUMER_KEY',
secret: 'YOUR_CONSUMER_SECRET',
request_token_url: 'https://api.discogs.com/oauth/request_token',
authorize_url: 'https://discogs.com/oauth/authorize?oauth_token=',
access_token_url: 'https://api.discogs.com/oauth/access_token',
Expand Down

0 comments on commit 7a734e6

Please sign in to comment.