Skip to content

Commit

Permalink
chore: config example file
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Apr 26, 2021
1 parent 479d817 commit 4d61011
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config.example.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[database]
driver="mysql" # MySQL, SQLite, etc. currently just support MySQL.
host="127.0.0.1"
port="3306"
user="root"
password=""
database="hitokoto"
charset= "utf8mb4"
category_table_name="hitokoto_categories"
sentences_table_name="hitokoto_sentence"

[core]
workdir="./sentences"

0 comments on commit 4d61011

Please sign in to comment.