Skip to content

Commit 79f7fe7

Browse files
author
pranav-027
committed
fixed commands for database setup
1 parent 34a13e6 commit 79f7fe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contributing/quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Now the website will run locally. You have some options on how to set up the dat
1818

1919
## (2) DATABASE SETUP
2020
There are two options here - a "test" database with generated data, or the production database (with sensitive information removed).
21-
1. **Test database**: Quick to set up, but may not mirror real-world data well. `bin/rake db:reset`
22-
2. **Exported database**: Takes 60-90 minutes to set up, but uses actual data from the live website. `bin/rake db:load:development`
21+
1. **Test database**: Quick to set up, but may not mirror real-world data well. `docker exec -it rails bash -c "bin/rake db:reset"`
22+
2. **Exported database**: Takes 60-90 minutes to set up, but uses actual data from the live website. `docker exec -it rails bash -c "bin/rake db:load:development"`
2323

2424
## (3) RUNNING TESTS
2525
Two options - running while your docker server is running, or running tests independently.

0 commit comments

Comments
 (0)