Skip to main content

Glitter Documents

Project description

The Document handler for Glitter you’ve been waiting for.

Getting Started

Installation is simple using pip:

$ pip install django-glitter-documents

Add glitter_documents to your site’s INSTALLED_APPS:

INSTALLED_APPS = [
    ...
    'glitter_documents',
    ...
]

And finally, remember to run the migrations:

$ ./manage.py migrate

Developing

Getting started on improving Django Glitter Documents is pretty straight forward. Presuming you’re using virtualenvwrapper and The Developer Society Dev Tools:

$ dev-clone git@github.com:developersociety/django-glitter-documents.git
$ make reset

Please remember to run make format before you commit, and tox before pushing the changes you make:

$ make format
$ git add .
$ git commit -m 'Made it do something awesome!'
$ tox
$ git push

Releasing

Releasing a new version of the project to PyPi is fairly straight forward.

First, make sure you have the correct credentials for PyPi correctly configued on your machine.

Update and commit the Version History in the README.

Then, use bumpversion to increment the version numbers in the project. This will also create a commit and a tag automatically for the new version. For example, to increment the version numbers for a ‘patch’ release:

$ bumpversion patch
$ git push --tags origin master

bumpversion can increment ‘patch’, ‘minor’ or ‘major’ version numbers:

$ bumpversion [patch | minor | major]

Then release the new version to PyPi:

$ make release

Version History

0.2.11

Add EdgeNgramField for the DocumentIndex https://github.com/developersociety/django-glitter-documents/pull/33

0.2.5

Added Makefile for linting, beautficiation and easier PyPi releasing. https://github.com/developersociety/django-glitter-documents/pull/18

0.2.4

Added “View on site” link to list of documents. https://github.com/developersociety/django-glitter-documents/pull/16

0.2.3

Add file extension method to model. https://github.com/developersociety/django-glitter-documents/pull/13

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-glitter-documents-0.2.11.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

django_glitter_documents-0.2.11-py2.py3-none-any.whl (13.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page