aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-09-30 19:55:35 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-09-30 19:55:35 +0530
commit423154f8236a3a27c1a6b2755039bae848dcd86f (patch)
tree3056b4e4226091377708bfd56ace9cffbd8085ab
parenta5ef5b2671069f29bae6b7e45fddd13cd8e0d8ae (diff)
(update): Update docsHEADmain
-rw-r--r--README.md2
-rw-r--r--accounts.yaml41
-rw-r--r--teams.json50
-rw-r--r--teams.yaml5
4 files changed, 87 insertions, 11 deletions
diff --git a/README.md b/README.md
index 42e9e2f..42cec68 100644
--- a/README.md
+++ b/README.md
@@ -10,3 +10,5 @@
- First Argument: Problems Directory
#### `teams.*`: Format for teams upload.
+
+#### `accounts.yaml`: Import accounts. Looks like `teams.json` is unnecessary as teams are auto-created.
diff --git a/accounts.yaml b/accounts.yaml
new file mode 100644
index 0000000..4c1deb7
--- /dev/null
+++ b/accounts.yaml
@@ -0,0 +1,41 @@
+- id: demo1
+ username: demo1
+ password: demoteam1
+ type: team
+ team_id: "8"
+
+- id: demo2
+ username: demo2
+ password: demoteam2
+ type: team
+ team_id: "2"
+
+- id: demo3
+ username: demo3
+ password: demoteam3
+ type: team
+ team_id: "3"
+
+- id: demo4
+ username: demo4
+ password: demoteam4
+ type: team
+ team_id: "4"
+
+- id: demo5
+ username: demo5
+ password: demoteam5
+ type: team
+ team_id: "5"
+
+- id: demo6
+ username: demo6
+ password: demoteam6
+ type: team
+ team_id: "6"
+
+- id: demo7
+ username: demo7
+ password: demoteam7
+ type: team
+ team_id: "7"
diff --git a/teams.json b/teams.json
index a25813c..986daa0 100644
--- a/teams.json
+++ b/teams.json
@@ -1,6 +1,44 @@
-[{
- "id": "1",
- "label": "1",
- "group_ids": ["24"],
- "name": "someteam"
-}]
+[
+ {
+ "id": "8",
+ "label": "1",
+ "group_ids": ["3"],
+ "name": "demoteam1"
+ },
+ {
+ "id": "2",
+ "label": "2",
+ "group_ids": ["3"],
+ "name": "demoteam2"
+ },
+ {
+ "id": "3",
+ "label": "3",
+ "group_ids": ["3"],
+ "name": "demoteam3"
+ },
+ {
+ "id": "4",
+ "label": "4",
+ "group_ids": ["3"],
+ "name": "demoteam4"
+ },
+ {
+ "id": "5",
+ "label": "5",
+ "group_ids": ["3"],
+ "name": "demoteam5"
+ },
+ {
+ "id": "6",
+ "label": "6",
+ "group_ids": ["3"],
+ "name": "demoteam6"
+ },
+ {
+ "id": "7",
+ "label": "7",
+ "group_ids": ["3"],
+ "name": "demoteam7"
+ }
+]
diff --git a/teams.yaml b/teams.yaml
deleted file mode 100644
index f240669..0000000
--- a/teams.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
-- id: demo1
- username: demo1
- password: demoteam1
- type: team
- team_id: 1