0.0
No commit activity in last 3 years
No release in over 3 years
Rails Engine for use with Bluepan
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Project Readme

Bluepan

Build Status

Rails Engine for use with Bluepan.

Requirements

This engine assumes your main app uses sidekiq and sidekiq-cron. It will automatically register the schedule to sync the provinces, cities, and other data.

Installation

  • Add the gem to your Gemfile and executing bundle install
  • bundle
  • rake bluepan:install:migrations
  • rake db:migrate

During your application initialization, call Bluepan::LoadSidekiqCronSchedule.() to load the sync job cron.

Development

  • Copy .env.sample to .env
  • Replace the variables with your credentials