From 76701df1fa5201039e81de482359a6dae5dda34b Mon Sep 17 00:00:00 2001 From: yoshinorin Date: Wed, 18 Dec 2024 01:54:50 +0900 Subject: [PATCH] docs: update `Create an author` section --- docs/_docs/getting-started/index.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/_docs/getting-started/index.md b/docs/_docs/getting-started/index.md index 4fe7cc7c..b6b3298c 100644 --- a/docs/_docs/getting-started/index.md +++ b/docs/_docs/getting-started/index.md @@ -92,6 +92,8 @@ Qualtet using `full-text-search`. So, please specify `--innodb-ft-min-token-size Qualtet does not support the signup endpoint. Need to create an author with `sbt task`, like below. +### with sbt + ```scala $ sbt @@ -103,10 +105,16 @@ $ sbt:qualtet> createOrUpdateAuthor $ sbt:qualtet> createOrUpdateAuthor jhonDue JD pass // result -2021-08-03 21:54:03 +0900 [INFO] from net.yoshinorin.qualtet.tasks.createOrUpdateAuthor$ - author created: { +2021-08-03 21:54:03 +0900 [INFO] from net.yoshinorin.qualtet.tasks.CreateOrUpdateAuthor$ - author created: { "id" : "01fgvhkzpyghp23wvp4p87nx29", "name" : "jhonDue", "displayName" : "JD", "createdAt" : 1627995242 } ``` + +### with java + +```sh +$ java -cp qualtet-assembly.jar net.yoshinorin.qualtet.tasks.CreateOrUpdateAuthor +```