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: .clabot
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
"jamiebenstead",
20
20
"jrmhaig",
21
21
"KristinaDudnyk",
22
+
"kylec-rpf",
22
23
"loiswells97",
23
24
"lpmi-13",
24
25
"m-bowley",
@@ -35,4 +36,4 @@
35
36
"zetter-rpf"
36
37
],
37
38
"message": "We require contributors to sign our Contributor License Agreement, and we don't have you on file. In order for us to review and merge your code, please complete [this form](https://form.raspberrypi.org/4873530) and we'll get you added and review your contribution as soon as possible."
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,20 @@ Handled in `config/initializers/cors.rb`.
151
151
152
152
This API receives push event data from the [Raspberry Pi Learning](https://github.com/raspberrypilearning) organisation via webhooks. This data is used to create or update code projects related to the [Code Club Projects Site](https://projects.raspberrypi.org), and is processed using the `github_webhooks` gem in the `github_webhooks_controller`. For development purposes, these webhooks are mediated locally through `smee`, which runs in a Docker container.
153
153
154
+
### Database Structure
155
+
156
+
Once you have completed the initial setup and have everything running in a container, you can generate an Entity-Relationship Diagram (ERD) to help you to understand the database structure. In order to do this, start things up as usual in one terminal:
157
+
158
+
`docker-compose up`
159
+
160
+
then in a second terminal, create the ERD using:
161
+
162
+
`docker-compose exec api bundle exec erd`
163
+
164
+
then copy the created ERD out of the container with:
0 commit comments