Bluepan
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 bundlerake bluepan:install:migrationsrake db:migrate
During your application initialization, call Bluepan::LoadSidekiqCronSchedule.() to load the sync job cron.
Development
- Copy
.env.sampleto.env - Replace the variables with your credentials