From 24b682008d79c3dd5b9c6a2219fde4eed1fb4274 Mon Sep 17 00:00:00 2001 From: ChickenSellerRED Date: Mon, 11 Mar 2024 11:06:07 -0700 Subject: [PATCH] update inituser_and_start.sh, create db_config_sample.yaml --- conf/db_config_sample.yaml | 1 + inituser_and_start.sh | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 conf/db_config_sample.yaml diff --git a/conf/db_config_sample.yaml b/conf/db_config_sample.yaml new file mode 100644 index 0000000..39b9fec --- /dev/null +++ b/conf/db_config_sample.yaml @@ -0,0 +1 @@ +database_number: 0 \ No newline at end of file diff --git a/inituser_and_start.sh b/inituser_and_start.sh index 9f40f1e..508be1d 100755 --- a/inituser_and_start.sh +++ b/inituser_and_start.sh @@ -1,8 +1,7 @@ #!/bin/bash -touch "conf/db_config.yaml" -echo "database_number: 0" > db_config.yaml +cp "conf/db_config_sample.yaml" "conf/db_config.yaml" python init_user.py &