Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

cab is the app that powers, it allows users to post and share useful "snippets" of code.

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time


This code is used to power the snippet sharing site,

Development setup

$ pip install -r requirmenets-dev.txt
$ python syncdb --migrate

Now you can start the develoment server:

$ python runserver

Before you can actually use the site now you have to define at least one language. If you just want to use the ones from, they are included in the fixtures folder:

$ python loaddata fixtures/languages.json

Now you should be able to use the development version of djangosnippets on port 8000.

Production setup

The production setup is right now tailored to Heroku and therefor mostly automatic. The difference between these two setups is configured in the djangosnippets.settings.production module and the requirements.txt.

Something went wrong with that request. Please try again.