Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sbwerewolf/fias-gar-schema-deploy-tool

Kit of templates and scripts to deploy FIAS GAR database
https://github.com/sbwerewolf/fias-gar-schema-deploy-tool

fias fias-database php

Last synced: about 1 month ago
JSON representation

Kit of templates and scripts to deploy FIAS GAR database

Awesome Lists containing this project

README

        

# FIAS GAR Schema Deploy Tool

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](test/install-storage.php)
- Correct all paths into [test/install-storage.php](test/install-storage.php)
- Check Templates list, remove unnecessary
- Run script [test/install-storage.php](test/install-storage.php)

### Create indexes

- Copy-paste [test/create-indexes.php](test/create-indexes.php)
- Correct all paths into [test/create-indexes.php](test/create-indexes.php)
- Correct Templates list, remove unnecessary
- Run script [test/create-indexes.php](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 [email protected]
phone +7-902-272-65-35
Telegram @sbwerewolf
```

Chat with me via messenger

- [Telegram chat with me](https://t.me/SbWereWolf)
- [WhatsApp chat with me](https://wa.me/79022726535)