- Always run [rake data:deprecate_devices] after upgrading catalogue version
- Clone this repo.
- Copy config/application.example.yml to config/application.yml
- Replace the corresponding (last 3) lines with:
- DEBUG_DEVICE_ATLAS: true
- DEBUG_DEVICE_ATLAS_MODEL: T3
- DEBUG_DEVICE_ATLAS_VENDOR: Tecno
- Comment out the file app/admin/policies.rb
- Copy database.example.yml to database.yml and edit database.yml appropriately.
- Create a blank file log/development.log (if log directory does not exist create it).
- bundle install
- run
rake db:migrate
- Uncomment app/admin/policies.rb
- Start server
rails server
-
Import devices by: log in to admin -> refernce data -> Devices -> Import devices -> /path/to/app/doc/data/patches/Orient Mobile Catalogue January.xlsx
-
Import dealers portal users (used in outlet collecting and veryfying claim) through: log in to admin -> reference data -> agents -> import agents /path/to/app/doc/data/patches/simba_telecom_agents.csv
-
You have to create users for use with Sercive Portal (SP) and Claims Portal (CP) manually by: log in to admin -> reference data -> agents -> New agent who the super admin will go on to add as users who can later log in to the Claims Portal or Service Portal.
License