Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

younginnovations/resourcecontracts-api

Repository files navigation

Moved to https://github.com/NRGI/resourcecontracts-api

NRGI- Client API

Scrutinizer Code Quality

Install

NRGI- Client API can be cloned from gitlab repository and installed. Following the procedure given below:

Run

The app can be run with the command below:

  • install the application dependencies using command: composer install
  • copy .env.example to .env and update your configuration .
  • run php server ie. php -S localhost:8000
  • make sure elasticsearch is running .

Setup Elasticsearch

For Linux

  • Download Elasticsearch- wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.12.deb
  • sudo dpkg -i elasticsearch-5.6.12.deb
  • cd /usr/share/elasticsearch
  • sudo bin/plugin install delete-by-query
  • Start Elasticsearch Service sudo service elasticsearch restart
  • Make sure elasticsearch is running in port 9200.

Tools and packages

This application uses following packages:

About

The API component of resourcecontracts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages