From 4ec804b4989239a6423c1ea4e2e135eaad458c35 Mon Sep 17 00:00:00 2001 From: Michiel Vos Date: Fri, 12 Jan 2024 20:16:36 +0100 Subject: [PATCH] Extend readme with import example --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4729820..fd80bf4 100644 --- a/README.md +++ b/README.md @@ -46,5 +46,6 @@ Check [http://localhost:8080](http://localhost:8080) 9. In de `sidebar` (`App/View.elm`), add link to the newly added year around line 114. 10. `npm run build`. 11. Commit & push. -12. Export firebase database as backup. Clear the firebase database. -13. Add a test rider, race & result. Verify if it works. Clear those test rows when real data is created. +12. Export [firebase](https://console.firebase.google.com/u/0/project/cycling-results/database/cycling-results/data) database as backup. Clear the firebase database. +13. Put `{ "races": { }, "results": { }, "riders": { } }` in `empty.json` and import it into the database. +14. Add a test rider, race & result. Verify if it works. Clear those test rows when real data is created.