INACTIVE - http://mzl.la/ghe-archive - The server component supporting Firefox's "Share" feature.
Перейти к файлу
James Burke 7bdeefde86 Inform user of failure to oauth. 2010-09-24 14:28:21 -07:00
docs linkdrop 2010-09-01 17:41:39 +10:00
extensions/firefox-share/src change the pref id names and add default pref values for the extension. use the app.get().prefs instead of full id spec 2010-09-24 13:32:27 -07:00
grinder more grinder work 2010-09-23 15:57:47 +10:00
linkdrop shorten for mysql 2010-09-24 13:52:50 -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
web Inform user of failure to oauth. 2010-09-24 14:28:21 -07:00
.hgignore more grinder work 2010-09-23 15:57:47 +10:00
MANIFEST.in linkdrop 2010-09-01 17:41:39 +10:00
README.txt small readme update 2010-09-13 14:02:49 -07:00
development.ini add facebook offline_access 2010-09-24 13:33:32 -07:00
ez_setup.py linkdrop 2010-09-01 17:41:39 +10:00
setup.cfg linkdrop 2010-09-01 17:41:39 +10:00
setup.py add memcached requirement 2010-09-24 13:53:19 -07:00
tasks.txt Inform user of failure to oauth. 2010-09-24 14:28:21 -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.