Is there a recommended way to run the sync gateway on Windows 2012 in a production environment?
Did you succeed in installing and running the Sync Gateway as a service? If yes, please share how.
I have installed the Sync Gateway as a service as follows:
- download http://nssm.cc/download
- in command prompt, run: nssm.exe install YourServiceName
in the window that opens, browse to C:\Program Files (x86)\Couchbase and choose “sync_gateway.exe”
- in the “arguments” textbox write your config.json file name (for running as sync_gateway.exe config.json)
- click on Install service
now, on services.msc, find and start your service
That worked well. Thanks for your help.