explore-services/services/cache/mecache
argirok 82afd05444 update dependencies for cache and utils services 2022-10-03 13:00:37 +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 Services: add properties files and scripts to create separate configuration per environment 2022-10-03 12:22:13 +03:00
cache.js Services: add properties files and scripts to create separate configuration per environment 2022-10-03 12:22:13 +03:00
package.json update dependencies for cache and utils services 2022-10-03 13:00:37 +03:00
production-properties.file Services: add properties files and scripts to create separate configuration per environment 2022-10-03 12:22:13 +03:00
properties.file Services: add properties files and scripts to create separate configuration per environment 2022-10-03 12:22:13 +03:00

README.md

README

What is this repository for?

Cache service

  • Version 1.0.0

How to run locally?

  • "npm start" to start the service
  • Check properties to set the port

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 cache"
  • if you start a new service run: pm2 start --name cache ./cache.js --log-date-format="YYYY-MM-DD HH:mm Z"