ZRCola/ZRColaWS
Simon Rozman afb137edee Explicitly clear reused std::vector and u16string after moved from
MSVC C26800 warned us std::vector and std::string are not guaranteed to
be cleared after being moved from in all standard C++ implementations.

As we reuse those objects and rely they are cleared, do an explicit
clear. We could have one-time-use objects and add scopes, but that makes
code ugly.

Reference: https://stackoverflow.com/a/17735913/2071884
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-10-28 13:45:51 +02:00
..
2022-09-20 12:49:25 +02:00

ZRCola Web Service

Building and Installation

  1. Install prerequisites: sudo dnf install git cmake gcc gcc-c++ make libatomic

  2. Clone this Git repository: git clone --recursive https://github.com/Amebis/ZRCola.git

  3. Build ZRColaWS: make -C ZRCola/ZRColaWS

  4. Install ZRColaWS: sudo make -C ZRCola/ZRColaWS install

  5. Configure ZRColaWS by editing /usr/local/etc/sysconfig/zrcolaws

  6. Start ZRColaWS: sudo systemctl start zrcolaws.service

  7. Configure ZRColaWS for auto-start: sudo systemctl enable zrcolaws.service

  8. Remember to open webservice port in firewall, should the service require external access.

Usage

Web service API documentation is available at http://host:port/swagger/ui.