This repository has been archived by the owner on Jun 10, 2022. It is now read-only.
Convert rest to a npm installable lib or a binary #593
Labels
P3 Issue
Low severity cosmetic issues with minor inconvenience
Atm, catapult-rest is installed (in the docker image or in a node) like it's a dev machine. In the manual node setup process (not bootstrap), the node admin needs to clone the repo, install nodejs, npm install and run the inde.js script (like a regular developer).
I would like to change this so catapult rest can be installed with an npm install -g command (like a cli tool) or by downloading prepackaged binaries (like we have with the supernode agent).
Also, it's not easy to run rest in different working dirs using relative paths to configuration and server certificates. We would need to improve this. If we do this, Bootstrap can be used for barebone configuration without updating the current docker-compose absolute paths used in the rest.json
https://github.com/nemtech/symbol-bootstrap/blob/main/config/rest-gateway/rest.json.mustache#L38
The text was updated successfully, but these errors were encountered: