Production Dump Setup
Production Dump Setup
Make sure all the servers running are stopped and run
Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
- type
\dtand\duto check the profiles in postgres.
Step 6:
- type
exitto exit from psql and aginexitfrom docker terminal
Step 7:
- Password:
postgres
Step 8
enter rails console
Step 9
Step 10
Run the below command in rails console to point our website to local db instead of remote aws.
- exit rails console
Step 11:
- Run the server