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

local database for testing #12

Open
akeshavan opened this issue Apr 14, 2017 · 2 comments
Open

local database for testing #12

akeshavan opened this issue Apr 14, 2017 · 2 comments

Comments

@akeshavan
Copy link
Member

create empty local database and restore one of the dumps (in case i don't have internet connection for the heroku database)

@neelsomani
Copy link
Member

Hi @akeshavan, did you check out the brainspell_2016-11-21.dump file in the database_dumps folder? You should be able to restore that dump locally (using something like pgAdmin) and set your DATABASE_URL environment variable to refer to your local database/credentials. (The DATABASE_URL variable is parsed in models.py.)

@akeshavan
Copy link
Member Author

I haven't yet -- I'm not too familiar with SQL. But it sounds like there are a number of config variables (githubkeys, database URL) that it might be worth pulling those out into another file entirely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants