Raindrop/Install: Difference between revisions

(→‎Notes: link to http://getsatisfaction.com/mozilla_messaging/topics/strange_twisted_imap_error)
 
(One intermediate revision by the same user not shown)
Line 69: Line 69:
=== Configuring ===
=== Configuring ===


Raindrop uses a file called .raindrop to hold your account configurations. This file lives in [http://en.wikipedia.org/wiki/Home_directory your home directory].
'''Important:''' the user account that runs CouchDB will need to have read and write access to the .raindrop and .raindrop.temp file in your home directory for it to run.
If you installed CouchDB with the standard defaults and you just want to configure one Gmail and one Twitter account, you do not need to manually set up the .raindrop file, and you can skip this section. You will be prompted in the web UI to set up the Gmail and Twitter account via OAuth. '''However''', the user account that runs CouchDB needs to have read and write permissions for the .raindrop and a .raindrop.temp file to work.
==== Manual .raindrop configuration ====
If you just want to
These steps should become less necessary as time moves forward (it will be
These steps should become less necessary as time moves forward (it will be
possible in the future to do this work though a web interface), but for now,
possible in the future to do this work though a web interface), but for now,
Line 123: Line 132:
Accounts name must be unique. A 'rss' account already exists, which fetch messages from getsatisfaction.com
Accounts name must be unique. A 'rss' account already exists, which fetch messages from getsatisfaction.com


Once you are done with ''~/.raindrop'', then go to the command line, to the
=== First Run ===
 
If you did not manually configure the .raindrop file, then you can run this command in the ''raindrop/server/python'' directory to set up the web UI:
 
% ./run-raindrop.py
 
When that is done, go to this URL:
 
http://127.0.0.1:5984/raindrop/inflow/index.html
 
You will be prompted to set up a Gmail and Twitter account via OAuth. Finish the account setup flow. Once you are done you will have to do another command to start syncing messages:
 
Once you are done with the web account setup or manually configuring ''~/.raindrop'', then go to the command line, to the
''raindrop/server/python'' directory and run the following command:
''raindrop/server/python'' directory and run the following command:


  % ./run-raindrop.py sync-messages --max-age=5days  
  % ./run-raindrop.py sync-messages --max-age=5days  


It will take a few minutes for run-raindrop to complete. The above command
It will take a few minutes for run-raindrop to complete syncing messages. The above command gets the last 5 days of messages for each account configured above. Once the above command finishes, then open your favorite Firefox or WebKit-based browser and go to:
gets the last 5 days of messages for each account configured above. Once the
above command finishes, then open your favorite Firefox or WebKit-based
browser and go to:


http://127.0.0.1:5984/raindrop/inflow/index.html
http://127.0.0.1:5984/raindrop/inflow/index.html
109

edits