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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file django-glitter-documents-0.2.11.tar.gz.

File metadata

File hashes

Hashes for django-glitter-documents-0.2.11.tar.gz
Algorithm Hash digest
SHA256 e957147626c4b57c1f3c3ee04d7b0f89936a8a3a3fdcf459dd2320b25c8f0e23
MD5 b24250d654cc00cdad3674b0b423ee55
BLAKE2b-256 a09b0cab2fcf2abbd2f53787ea587217f24687e53d5ba9aa6447962e18321a53

See more details on using hashes here.

File details

Details for the file django_glitter_documents-0.2.11-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_glitter_documents-0.2.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eed5d90321d41ee12fcfa45677a79024971965798b3b945db30f4bdea67b0378
MD5 2f98ba5ccf91d6c51450da8c6617e6bb
BLAKE2b-256 bb64ac4cf7f2e92b1921581d9a3517048fefbe8bab1b17ca295e1064a794f513

See more details on using hashes here.

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