Skip to content
/ fias Public

Гемчик для быстрого включения ФИАС в проект

License

Notifications You must be signed in to change notification settings

uchiru/fias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fias

It helps your to add FIAS to any project

Installation

Add this line to your application's Gemfile:

gem 'fias', git: 'git@github.com:uchiru/fias.git'

And then execute:

$ bundle

Scripts

rails generate fias:install # Сгенерировать миграции
rake db:migrate # Мигрировать
rake fias:download # Скачать ФИАС архивом
rake fias:download[.] # Скачать ФИАС архивом в указанную папку (по умолчанию в tmp)
rake fias:import # Импортировать ФИАС себе в базу
rake fias:import[fias_xml.rar] # Импортировать ФИАС себе в базу из указанного файла
rake fias:update # Пока не работает

Usage

TODO: Write usage instructions here

License

The gem is available as open source under the terms of the MIT License.

About

Гемчик для быстрого включения ФИАС в проект

Resources

License

Stars

Watchers

Forks

Packages

No packages published