You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributing/quickstart.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ Now the website will run locally. You have some options on how to set up the dat
18
18
19
19
## (2) DATABASE SETUP
20
20
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"`
23
23
24
24
## (3) RUNNING TESTS
25
25
Two options - running while your docker server is running, or running tests independently.
0 commit comments