apache / couchdb-fauxton

Fauxton is the new Web UI for CouchDB
https://github.com/apache/couchdb-fauxton
Apache License 2.0
378 stars 225 forks source link

Connecting to a remote db #1423

Closed mderazon closed 8 months ago

mderazon commented 9 months ago

Hi, trying to run Fauxton locally to connect it to remote db I installed it via npm and ran it in the browser, but the app is not responsive (assuming because I don't have local couchdb installed ?)

Is there any way to run it standalone without local instance of couchdb installed ?

Antonio-Maranhao commented 8 months ago

@mderazon Yes, the short answer is to run the /bin/fauxton script providing where your remote CouchDB instance is.

Not sure on your setup so here are more detailed steps starting from scratch. I used a Cloudant instance but it should work just the same with a CouchDB instance.

git clone git@github.com:apache/couchdb-fauxton.git
cd couchdb-fauxton
// Install dependencies
npm ci
// Generate the release (i.e. the HTML, CSS, etc artifacts)
npm run couchdb
// Run the './bin/fauxton' script
cd bin
node fauxton --port 8888 --couchdb https://607ea368-5a7e-45ea-a9b3-6c886a086f47-bluemix.cloudant.com/

Then open your browser on http://localhost:8888

mderazon commented 8 months ago

Thanks you !

Antonio-Maranhao commented 8 months ago

I'll close the issue but feel free to reach out again if needed.