Skip to content

Commit 34a13e6

Browse files
authored
Update detailed_contributing_guide.md
1 parent 0e1e520 commit 34a13e6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

contributing/detailed_contributing_guide.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,14 @@ This is an essential step of contributing to the WCA website, as you'll want to
2727
6. If you're using Visual Studio Code to develop, you can [attach it to the Docker container](https://code.visualstudio.com/docs/remote/containers) so that your extensions can take advantage of the Ruby environment and so the terminal runs from inside the container
2828

2929
### 3. Set up the database
30-
TODO
30+
31+
#### Import the developer database
32+
1. Make sure that you have allocated at least 4GB RAM to your Docker containers under the Resources menu.
33+
2. In a bin/rails console prompt, run `bin/rake db:load:development`
34+
3. This job will take 10-200 minutes - yes, more than two hours in bad cases! This will load the latest database export onto your local machine.
35+
36+
#### Run CAD
37+
In a bin/rails console prompt, run `ComputeAuxiliaryData.perform_now`.
3138

3239
### 4. Run migrations (if necesary)
3340

0 commit comments

Comments
 (0)