From 45b2b7149477b69f0374daed22794de9a2f68d3a Mon Sep 17 00:00:00 2001 From: Llloooggg Date: Wed, 18 Aug 2021 19:50:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 +++++++++++++ runscripts/postgres/{initdb.bat => updatedb.bat} | 0 runscripts/postgres/{initdb.sh => updatedb.sh} | 0 3 files changed, 13 insertions(+) rename runscripts/postgres/{initdb.bat => updatedb.bat} (100%) rename runscripts/postgres/{initdb.sh => updatedb.sh} (100%) diff --git a/README.md b/README.md index 9d6bf66..112b65f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,19 @@ ### Конфигурация Прежде всего необходимо создать файл **config.json** на основе приложенного шаблона +Инструкция для создания базы данных находится в: +``` +runscripts/postgres/createdb +``` +Для конфигурации и обноления структуры бд в Windows использовать скрипт: +``` +runscripts/postgres/updatedb.bat +``` +В Linux: +``` +runscripts/postgres/updatedb.sh +``` + ### Запуск приложения На Windows запускать через: ``` diff --git a/runscripts/postgres/initdb.bat b/runscripts/postgres/updatedb.bat similarity index 100% rename from runscripts/postgres/initdb.bat rename to runscripts/postgres/updatedb.bat diff --git a/runscripts/postgres/initdb.sh b/runscripts/postgres/updatedb.sh similarity index 100% rename from runscripts/postgres/initdb.sh rename to runscripts/postgres/updatedb.sh