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)
- ‘Facilities’ data : Story #121
- ‘Program supported by facilities’ data : Story # 152
- ‘Products’ data : Story # 122
- ‘Program’ to ‘Products’ mapping : Story #124
- ‘Supervisory Nodes’ data : Story #117
- ‘Requisition Group’ data : Story #117
- ‘Requisition Group members’ data : Story #117
- ‘Requisition Group supported programs and Schedule data’ : Story #117
- 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
{| ! Seed users and rights | User Name || Rights |- |Hello || Hello1 |}
- 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