INACTIVE - http://mzl.la/ghe-archive - The server component supporting Firefox's "Share" feature.
Перейти к файлу
mixedpuppy 930850faa6 require a request to shorten the url 2010-10-15 13:55:52 -07:00
docs linkdrop 2010-09-01 17:41:39 +10:00
extensions/firefox-share/src Using new contacts api to dynamically update jquery autocomplete UI. Only does the call once and stores results in the localStorage 2010-10-14 14:58:21 -07:00
grinder Update the grinder runner to report statistics on each individual step 2010-10-01 12:27:41 -04:00
linkdrop require a request to shorten the url 2010-10-15 13:55:52 -07:00
misc add our patched line_profiler file, it fixes use with paste/pylons and any other app that looks at call signatures 2010-09-23 12:00:53 -07:00
tools/webbuild First pass at JS optimization, and hide share ui until jquery ui tabs transform the dom, to avoid seeing a blink of all tabs in the UI. Needs a bit more work to make sure makefile changes work for Gozer's process. 2010-09-30 15:26:08 -07:00
web Using new contacts api to dynamically update jquery autocomplete UI. Only does the call once and stores results in the localStorage 2010-10-14 14:58:21 -07:00
.hgignore add a couple more ignore rules 2010-10-14 11:31:37 -07:00
MANIFEST.in linkdrop 2010-09-01 17:41:39 +10:00
Makefile use rsync instead of cp -r 2010-10-01 13:01:55 -04:00
README.txt small readme update 2010-09-13 14:02:49 -07:00
debug.ini an ini file to use dbgp debugging 2010-09-29 14:06:17 -07:00
development.ini a key that can be used for dev 2010-10-14 12:50:48 -07:00
ez_setup.py linkdrop 2010-09-01 17:41:39 +10:00
profile.ini add an ini file to make using the python profiler easy 2010-09-29 14:04:44 -07:00
setup.cfg linkdrop 2010-09-01 17:41:39 +10:00
setup.py add a contacts api to retreive contacts from google, currently only google supported 2010-10-14 11:39:14 -07:00
tasks.txt remove short url from twitter box, but account for it in text counter. use the page's short url if provided. update email form to use page title for subject and to put a line break above and below the URL in the message area. 2010-10-13 16:58:46 -07:00
test.ini more grinder work 2010-09-23 15:57:47 +10:00

README.txt

Installation and Setup
======================

Get the ``linkdrop`` repository:

    hg clone http://hg.mozilla.org/users/mhammond_skippinet.com.au/linkdrop
    cd linkdrop

Setup a virtual environment (optional, recommended):

    sudo easy_install virtualenv
    virtualenv env
    source env/bin/activate

Install ``linkdrop``:

    python setup.py develop

Make a config file as follows::

    *skip this step for now*
    paster make-config linkdrop config.ini

Tweak the config file as appropriate and then setup the application::

    *skip this step for now*
    paster setup-app config.ini

Running ``linkdrop``:

    # Run the web server.  'reload' is useful for development, the webserver
    # restarts on file changes, otherwise you can leave it off
    paster serve --reload development.ini

Then visit: http://127.0.0.1:5000/ for an index of api examples



Installing from Source
======================

Get the ``linkdrop`` repository:

    hg clone http://hg.mozilla.org/users/mhammond_skippinet.com.au/linkdrop
    cd linkdrop

Setup a virtual environment (optional, recommended):

    sudo easy_install virtualenv
    virtualenv lenv
    source lenv/bin/activate

Install ``linkdrop``:

    python setup.py develop

Start the server:

    paster serve --reload development.ini

Then visit: http://127.0.0.1:5000/ for an index of api examples


Setting up a valid Google domain for OpenID+OAuth
=================================================

You have to have access to a valid domain that google can get to and where you can install an html file.

Visit: https://www.google.com/accounts/ManageDomains

Add your domain, follow the rest of their instructions.

To test: Once that is done, you can bypass normal access to your domain by adding to your /etc/hosts file:

127.0.0.1 your.host.com

Update development.ini and add your key/secret for the google configuration, restart paster.

Then in the web browser, hit linkdrop with http://your.host.com.