This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
How To
Jasdeep Madan edited this page Nov 13, 2013
·
2 revisions
To run the application the following packages are required
- Java (openjdk 1.7 or above)
- Gradle
- PostgreSQL version 9.x
- Tomcat web server version 7 or above
- Setup development boxes – https://github.com/OpenLMIS/open-lmis/blob/master/README.md
- Setup QA/UAT boxes – https://github.com/OpenLMIS/env-setup
-
Log in as the Admin User
- (userID/password): Admin123/Admin123
-
Upload the following Reference Data (Sample upload files can be found on Upload WIKI, which can be modified to use)
- Upload ‘Facilities’ data
- Upload ‘Program supported by facilities’ data
- Upload ‘Products’ data
- Map ‘Program’ to ‘Products’ mapping
- Upload ‘Supervisory Nodes’ data
- Upload ‘Requisition Group’ data
- Upload ‘Requisition Group members’ data
- Upload ‘Requisition Group supported programs and Schedule data’
-
Template Configuration
- Configure R&R Template #263
-
Manage Facility
- Create Facility #129
- Search Facility
- Delete / Restore Facility #317
-
Log in as the User
- (userID/password): User123/User123
-
Requisitions
- Initiate R&R #78
storeincharge | Requisition |
facilityhead | Requisition |
medicalofficer | Requisition |
lmu | Requisition |
lmuincharge | Requisition |
- Using chefspec (rspec based) tool for cookbook testing https://github.com/acrmp/chefspec .
- Gemfile in env-setup has the gems loaded.
- Run bundle install to install the gems.
- unit_test rake task is defined in Rakefile.
- Use
bundle exec rake
to test all cookbooks. - For individual cookbook spec testing use
rspec chef/cookbooks//spec/*_spec.rb