INACTIVE - http://mzl.la/ghe-archive - The server component supporting Firefox's "Share" feature.
Перейти к файлу
Mark Hammond bccd75edf4 remove some stray prints 2010-09-20 16:33:21 +10:00
docs linkdrop 2010-09-01 17:41:39 +10:00
extensions/firefox-share/src update extension to look for a linkdrop.system pref instead of a share_url. share_url is still supported, but now defaults to reasonable value if no share_url in prefs and has linkdrop.system = dev. linkdrop.bookmarking = false turns off the bookmarking service. The system is now passed to the HTML, for use in hiding buttons for non-dev environments. 2010-09-16 16:03:02 -07:00
linkdrop remove some stray prints 2010-09-20 16:33:21 +10:00
misc a script for converting profile data to cachgrind format 2010-09-01 14:59:34 -07:00
web designing the settings tab with links to the account manager 2010-09-17 15:26:47 -07:00
.hgignore couple different mockups and icons added 2010-09-15 14:10:52 -07: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 yahoo oauth info to the ini files 2010-09-13 17:51:47 -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 auto migration in dev builds using sqlalchemy-migrate 2010-09-13 12:58:27 -07:00
tasks.txt update extension to look for a linkdrop.system pref instead of a share_url. share_url is still supported, but now defaults to reasonable value if no share_url in prefs and has linkdrop.system = dev. linkdrop.bookmarking = false turns off the bookmarking service. The system is now passed to the HTML, for use in hiding buttons for non-dev environments. 2010-09-16 16:03:02 -07:00
test.ini linkdrop 2010-09-01 17:41:39 +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.