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

can't get it working on localhost #9

Closed
pfraces opened this issue Oct 25, 2012 · 1 comment
Closed

can't get it working on localhost #9

pfraces opened this issue Oct 25, 2012 · 1 comment

Comments

@pfraces
Copy link

pfraces commented Oct 25, 2012

Mongodb is running and the derby-todos example works as expected
log: http://gist.github.com/3954505

@lefnire
Copy link
Contributor

lefnire commented Oct 28, 2012

Woops, sorry @pfraces - forgot to mention. HabitRPG uses profile configuration variables (including database URI which is causing the above crash). This so I can keep the code open source while using sensitive variables in the application. On Heroku those variables are set via heroku config:set KEY1=VALUE1, on localhost those variables are set in ~/.profile or ~/.bashrc.

These should be the necessary variables:
FACEBOOK_KEY, FACEBOOK_SECRET, NODE_DB_URI (eg, mongodb://localhost/habitrpg)
Anywhere there's process.env in the code, you'll need that variable set if it doesn't provide a default

@lefnire lefnire closed this as completed Oct 28, 2012
lefnire pushed a commit that referenced this issue Mar 28, 2013
Keeping my pets branch updated
NathanMaton added a commit to NathanMaton/habitrpg that referenced this issue Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants