loentar / ngrest

Fast and easy C++ RESTful WebServices framework
Apache License 2.0
464 stars 93 forks source link

What is the right use (or main differences) of ngrest / ngrestserver ? #92

Closed JL2014 closed 1 year ago

JL2014 commented 2 years ago

Hi,

Most documentation indicates using "ngrest" command.

What is the good way to have the ngrest command ? copy "scripts/ngrest" to "/usr/local/bin" ?

Is "ngrest" only for "development" and we must use "ngrestserver" in "production" ?

Greetings, JL.

loentar commented 2 years ago

The ngrest command is available when you installed ngrest using installed like mentioned in https://github.com/loentar/ngrest#install .

It just simplifies things a bit.

JL2014 commented 2 years ago

Hi @loentar,

if I understand you correctly, the "automatic install" do the job to install the "ngrest" command in the path and then automatically available from prompt but a "manual" install from "make install" command don't install the "ngrest" command ?

Greetings, JL.

loentar commented 1 year ago

ngrest command is a bash script which installed with inst script. If you do cmake build ngrest script isn't going to be installed.