Couchbase,Where to add config.json for windows Installation?

这一生的挚爱 提交于 2019-12-14 03:20:28

问题


I am trying to implement Couch base in my android app following the couchbase tutorial link here

I need to add a config.json file to create my own database link rather than using its default database "Sync_gateway".According to explanation it should be inside bin directory inside a data folder but I can't find a bin directory as I installed sync gatway from .exe file. I don't find run it by any command other than clicking the .exe file. What I am I missing?


回答1:


If you have installed sync_gateway in Windows then open the file location for the sync_gateway.exe it will be usually in the directory "C:\Program Files (x86)\Couchbase" . You have to place your configure.json in that directory . Now open windows command prompt and do 'cd C:\Program Files (x86)\Couchbase' and run the command 'sync_gateway.exe configure.json' . Ensure that your configure.json file is perfect and does not have any syntax errors. your Sync gateway will now load with your specified configure.json



来源:https://stackoverflow.com/questions/33030843/couchbase-where-to-add-config-json-for-windows-installation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!