How to connect nitrogen to Couchdb using Ecouch

I don’t understand how to establish a connection with nitrogen and couchdb using ecouch, because I have an error in this connection. CAUGHT ERROR: error-undef [{Ecouch, db_info, ["test_suite_db"]} I put ecouch in my library path erlang, and I am creating a symlink to support /include.mk (I don’t even know if this is necessary). Or, if someone knows the database, how can you connect to nitrogen and who will do it.

+4
source share
1 answer

Sorry if this question is simplified, but I'm not sure about your level of experience. But did you really run the make in the ecouch directory?

Moreover. Consider couchbeam or erlang_couchdb . Both have much better documentation.

+1
source

Source: https://habr.com/ru/post/1312205/


All Articles