When you set-up a .couchapprc file you can define different databases, hosts ... for different environments (see couchapp doc).
To use these set-up when running cucumber I modify the env.rb mentioned here. It use the test environment defined in .couchapprc for cucumber scenarios.
Example .couchapprc file:
for me, a command like "couchapp push galaxy" produces a result of
AntwortenLöschencouchapp push galaxy
2011-08-14 14:17:56 [INFO] Visit your CouchApp here:
http://127.0.0.1:5984/galaxy/_design/enotes/index.html
but the corresponding entry in the couchapprc file points to a different couchdb (on 5985).
what am i doing wrong? (the default entry works well, but the flexibility promised here would be nice)
Did you define the destination "galaxy" in .couchapprc ? See also http://couchapp.org/page/couchapp-config
AntwortenLöschen