Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme instructions (for generating the app key and secret) #12

Merged
merged 1 commit into from
Jan 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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