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

Get EDG staging database working in local development environment #61

Closed
torrin47 opened this issue Jan 26, 2017 · 1 comment
Closed
Assignees

Comments

@torrin47
Copy link
Contributor

This was a big challenge but it's finally working, hooray!

@Saisuma004
Copy link
Contributor

Steps involved in getting EDG Staging database in local environment.
Commands used to restore, grant privileges to the schema, reset user passowrd and finally login with the role.
STEP 1: (Restore database)
pg_restore -i -h localhost -p 5432 -U postgres -d staging -v "C:\Users\Innovate\Downloads\ProductionExport20160912\ProductionExport20160912.backup"
STEP 2 : GRANT ALL PRIVILEGES ON SCHEMA gptlv10 TO gptlv10;
STEP 3 : ALTER USER gptlv10 WITH PASSWORD 'gptlv10';
STEP 4 : ALTER ROLE gptlv10 WITH LOGIN;

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