sbwerewolf / fias-gar-schema-deploy-tool
Kit of templates and scripts to deploy FIAS GAR database
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:tool
Requires
- ext-json: *
- ext-pdo: *
- psr/log: ^3.0
- sbwerewolf/batch-file-scripting: ^3.0
- sbwerewolf/json-serialize-trait: ^1.0
Requires (Dev)
- monolog/monolog: ^3.2
README
Kit of templates and scripts to deploy FIAS GAR database
Федеральная Информационная Адресная Система Государственный Адресный Реестр - ФИАС ГАР
How to install
composer require sbwerewolf/fias-gar-schema-deploy-tool
How to use
First step is to create tables, second - indexes.
Deploy tables
- Create .env file with DB credentials
- Copy-paste directory
test/template
to reachable location - Copy-paste test/install-storage.php
- Correct all paths into test/install-storage.php
- Check Templates list, remove unnecessary
- Run script test/install-storage.php
Create indexes
- Copy-paste test/create-indexes.php
- Correct all paths into test/create-indexes.php
- Correct Templates list, remove unnecessary
- Run script test/create-indexes.php
Create templates and scripts on you own
Let explore source code and fill free to change it.
SQL was developed only for PostgreSQL, it is possible not suitable for MySql and others DBMS.
Contacts
Volkhin Nikolay
e-mail ulfnew@gmail.com
phone +7-902-272-65-35
Telegram @sbwerewolf
Chat with me via messenger