Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

[NOT MANTAINED] 13th place in DjangoDash 2011 as team BERLIN - http://djangodash.com/judging/2011/results/

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 smartlinky
Octocat-spinner-32 smartlinky_extension
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
README.md

Smartlinky

We all love well written docs. But it's not an easy task to produce such. How about letting people collaborate on this?

Project structure

  • smartlinky/ - web project
    • apps/ - django applications
    • docs/ - documentation
    • media/ - media files
  • smartlinky_extension/ - extension for Google Chrome

Deploy on Gondor.io

You can easily deploy it to Gondor.io service.

  1. go to web project root

  2. Set up your Gondor.io environment (you can find more information on Gondor.io help pages https://gondor.io/support/)

  3. Run deployment script:

    gondor deploy primary master

  4. Run generateplugin management script:

    gondor run primary generateplugin

Deploy on localhost

  1. go to web project root

  2. Install requirements:

    pip install requirements.pip

  3. Synchronize database:

    python ./manage.py syncdb

  4. Run your server:

    python ./manage.py runserver

  5. Run generateplugin management script:

    python ./manage.py generateplugin

Generate plugin

We use only one javascript file for our browser extension and embeddable script. We created a managemant command to generate this file. This file can be embedded on every documentation.

Therefore it's important to generate this file after the deployment.

The generation process uses 3 settings variables:

  • PLUGIN_FILES: The file paths, that are compiled to one file
  • PLUGIN_FILENAME: Filename of generated/compiled file
  • PLUGIN_CONFIG: Configuration for javascript code

The settings for the production environment can be found in settings.py.

Something went wrong with that request. Please try again.