- Clone Github repository and install projects dependencies:
git clone https://github.com/bitfinexcom/bfx-report-express.git
cd bfx-report-express
npm install
- As to configure the service copy the json.example files from config folder into new ones. Open a console on projects folder a copy the following codes:
cp config/default.json.example config/default.json
- To change the api port, client grenache settings or enable logging, change the corresponding properties in the configuration file
config/default.json
vim config/default.json
## set property values
- Install, configure and run grenache worker following the readme of this repository: bfx-report
- For production environment, run the express server in the console:
npm run start
- For development environment, run the express server in the console:
npm run startDev