Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Missing from ENV: REPOSITORY, GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET #20

Closed
deone opened this issue Mar 2, 2013 · 2 comments
Closed

Comments

@deone
Copy link

deone commented Mar 2, 2013

I get this error when I run script/tests. I've created an heroku app and used heroku config:set to create this settings on heroku. What else do I need to do to make this error go away and have a successful run?

@ocxo
Copy link
Contributor

ocxo commented Mar 3, 2013

The tests can't run because the required environment variables aren't set locally. What you want is:

export REPOSITORY='your_github_user/your_repo'
export GITHUB_CLIENT_ID='your_client_id'
export GITHUB_CLIENT_SECRET='your_secret'

I'd put these lines in a ~/.localrc file and then add the line source ~/.localrc in your ~/.zshrc or ~/.bash_profile, so the env vars persist between shell sessions.

@ocxo
Copy link
Contributor

ocxo commented Apr 6, 2013

Closing for now. Reopen if you're still having problems getting going.

@ocxo ocxo closed this as completed Apr 6, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants