INACTIVE - http://mzl.la/ghe-archive - The server component supporting Firefox's "Share" feature.
Перейти к файлу
mixedpuppy 14c968ec3d merge update 2010-09-28 13:43:14 -07:00
docs linkdrop 2010-09-01 17:41:39 +10:00
extensions/firefox-share/src updating for FF4, Applications.extensions is gone. Also a quick CSS typo fix. 2010-09-27 15:07:04 -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 Load text overflow plugin via require, do the ellipsis work later in the setup after the fields have content in them. 2010-09-28 13:21:22 -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
Makefile add a makefile to build the xpi 2010-09-28 13:42:26 -07: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 updating tasks. 2010-09-28 13:13:05 -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.