explore-services/services/cache/mecache
Konstantina Galouni 6af07478b4 [develop | DONE | CHANGED]: cache.js: Increased "cacheMaxSize" from 300 to 1000 requests. 2024-02-12 13:29:23 +02: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] Cache: change to LRU cache, remove short/long cache related code and properties, add preload requests in properties to load on init cache (on start, on clear and on daily reset) 2024-02-08 15:58:43 +02:00
cache.js [develop | DONE | CHANGED]: cache.js: Increased "cacheMaxSize" from 300 to 1000 requests. 2024-02-12 13:29:23 +02:00
package.json [ develop | DONE | CHANGED] Cache: change to LRU cache, remove short/long cache related code and properties, add preload requests in properties to load on init cache (on start, on clear and on daily reset) 2024-02-08 15:58:43 +02:00
production-properties.file [ develop | DONE | CHANGED] Cache: change to LRU cache, remove short/long cache related code and properties, add preload requests in properties to load on init cache (on start, on clear and on daily reset) 2024-02-08 15:58:43 +02:00
properties.file [ develop | DONE | CHANGED] Cache: change to LRU cache, remove short/long cache related code and properties, add preload requests in properties to load on init cache (on start, on clear and on daily reset) 2024-02-08 15:58:43 +02: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"