InfiniteLibrary / infinite-reader

eBook reader app built on react-native
MIT License
89 stars 17 forks source link

Set permissions on Cloudant #4

Open ssomnoremac opened 8 years ago

ssomnoremac commented 8 years ago

The app always starts up with a replication with the cloudant-hosted database at infinitelibrary.cloudant.com/gitburg but uses a public-visible username:password combination to do this. I've tested it without-- the replication action requires it.

If we plan to use cloudant as our demo (replicate-from) server we need to find a different solution for db access. @christopheradams , you've used cloudant before. Any suggestions?

ojongerius commented 8 years ago

What was the driver to use cloudant?

ssomnoremac commented 8 years ago

It takes 2 steps out of the dev environment setup. Using a cloud database to make the initial sync to the device database (couchbase-lite) means that the sync-gateway (1) doesn't need to be installed and (2) doesn't need an initial data dump.

louisruch commented 8 years ago

@ssomnoremac shouldn't we move away from Cloudant and rather replicate to a dev server

ssomnoremac commented 8 years ago

@SolmyrBhaal we need to make Vagrant work so setting up the dev database is automatic. Until then, creating, and datadump, and posting each attachment, is too much to ask for onboarding