NRGI can be cloned from github repository and installed. Following the procedure given below:
127.0.0.1 resourcecontracts.dev
to your /etc/hosts
fileThe app can be run with the command below:
composer install
chmod -R 777 storage
php artisan migrate
php artisan db:seed
uploads
inside public
and give write permission to ithttp://resourcecontracts.dev
The application is written in PHP based on the Laravel framework, current version of Laravel used for this project is 5.
This application uses many tools and packages, the packages can be seen in the composer.json file and javascript packages are listed in the package.json file.
Some major PHP packages used are listed below:
The application is structured in a very simple way in app\Nrgi
folder.
Nrgi folder contains other 3 folders
Classes inside each of the above directories are properly written within corresponding modules namespace.
We follow PSR-2 for coding standard
We follow PSR-2
For this project we use php
unit tests using PHPUnit
framework integrated with Shippable CI.
phpunit or ./bin/vendor/phpunit
We use Elastic Beanstalk CLI.
For any queries and support, you may either create a github issue or send us an email at resourcecontracts@yipl.com.np
Code copyright Natural Resource Governance Institute. Code released under the MIT license