explore-services/services/utils-service
argirok e9f53ad505 [develop | ADDED| DONE ] add properties for dl170 2024-10-15 14:21:56 +03:00
..
README.md Services: add properties files and scripts to create separate configuration per environment 2022-10-03 12:22:13 +03:00
beta-properties.file [develop | DONE | CHANGED]: utils-service: Added request to irish-monitor-service to get Funders (/stakeholder?type=funder) and their dashboard info. 2024-09-05 18:18:38 +03:00
dl170-properties.file [develop | ADDED| DONE ] add properties for dl170 2024-10-15 14:21:56 +03:00
package.json [develop | ADDED| DONE ] add properties for dl170 2024-10-15 14:21:56 +03:00
production-properties.file [develop | DONE | CHANGED]: utils-service: Added request to irish-monitor-service to get Funders (/stakeholder?type=funder) and their dashboard info. 2024-09-05 18:18:38 +03:00
properties.file [develop | ADDED| DONE ] add properties for dl170 2024-10-15 14:21:56 +03:00
uploadService.js [develop | DONE | ADDED ] utils service: add calculation date for grouped requests (useful when the response is cached) 2024-09-19 13:51:22 +03:00

README.md

README

What is this repository for?

Utils service

  • Version 1.0.0

How to run locally?

  • "npm start" to start the service

How to run in a server?

  • run "npm run prepare-{CONFIGURATION_NAME}"
  • cp dist folder in the server
  • create a folder for the service files
  • "npm i" to install dependencies.
  • if you just update the project run "pm2 restart upload"
  • if you start a new service run: pm2 start --name upload ./uploadService.js --log-date-format="YYYY-MM-DD HH:mm Z"