Comments (3)
Thanks for the feedback, Mike.
It sounds like your problems stem from the App being unable to connect to the CouchDB database(s), because the app creates the databases at startup and this doesn't seem to have happened in your case.
I tried to reproduce your problem by installing CouchDB locally using MacPorts
sudo port install couchdb
sudo port load couchdb
You can verify that CouchDB is running by visiting "http://localhost:5984/" in your browser which should return some JSON.
Then you can change your birdreader/includes/config.json to look like this:
{
"cloudant": {
"server": "http://localhost",
"port": 5984,
"username": "",
"password": "",
"secure": false
}
}
N.B.make sure "secure" is false, otherwise the app will try and use HTTPS to connect to the server.
If you remove the databases you manually created with Futon, when you run birdreader for the first team, you should get:
> node birdreader.js
Listening on port 3000
Creating views - first time only
The "Creating views" line is important. This means that it has connected to the database, has created the databases and has inserted the essential views in your "articles" database.
You can verify that the articles database is fully formed by visiting 'http://localhost:5984/articles/_all_docs' in your browser and you should see a document with the id "design/matching"
{
"total_rows": 1,
"offset": 0,
"rows": [
{
"id": "_design/matching",
"key": "_design/matching",
"value": {
"rev": "1-2d54cc9d1694dd0352a836c745022d43"
}
}
]
}
If this works, then you should be good to go. Import some feeds and wait for the articles to be fetched.
In response to your issue I've updated the startup logic so that it outputs what it's doing to the console and I've updated the README to indicate that you need 'make' on a Mac.
Hope this helps.
Glynn
from birdreader.
That fixed it. I had: https in my server line, and secure set to true - switching them off, deleting my handmade db's, and pulled your recent change....and everything worked.
Thanks for your quick reply. Awesome!
Mike
from birdreader.
Great news!
from birdreader.
Related Issues (20)
- no description for article causes crash HOT 1
- crash when fetching feeds
- Error on page view HOT 1
- Adding a Feed HOT 3
- Question: Will birdreader support multi-user at some point? HOT 1
- Can't install : Cannot call method 'use' of undefined HOT 5
- Tags for individual articles
- Show listing of feed tags as a sidebar HOT 1
- Add feedback when adding a feed fails HOT 1
- Using a local CouchDB HOT 3
- Running on startup HOT 2
- Accept RSS links to the /api/feed/add endpoint HOT 2
- Fails to resolve relative URLs when adding an RSS feed HOT 2
- Process crash on invalid URL HOT 2
- Excessive writes to database? HOT 2
- feeds saving issue HOT 5
- Searching for local couchdb via elasticsearch
- server_admin error HOT 2
- unable to run tests HOT 1
- after some debug and run the application, i found it only works for the example rss link only. Other RSS parsing is failed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birdreader.