Kit of templates and scripts to deploy FIAS GAR database
Федеральная Информационная Адресная Система Государственный Адресный Реестр - ФИАС ГАР
composer require sbwerewolf/fias-gar-schema-deploy-tool
First step is to create tables, second - indexes.
- 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
- 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
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.
Volkhin Nikolay
e-mail [email protected]
phone +7-902-272-65-35
Telegram @sbwerewolf
Chat with me via messenger