django-helpdeskmig/README.rst

146 lines
4.8 KiB
ReStructuredText
Raw Normal View History

django-helpdesk - A Django powered ticket tracker for small businesses.
2011-02-05 05:51:34 +01:00
=======================================================================
2023-04-17 04:11:08 +02:00
.. image:: https://dev.azure.com/django-helpdesk/django-helpdesk/_apis/build/status/django-helpdesk.django-helpdesk?branchName=master
:target: https://dev.azure.com/django-helpdesk/django-helpdesk/_build/latest?definitionId=1&branchName=master
:alt: Build Status
2013-11-12 05:28:28 +01:00
2018-09-02 05:29:28 +02:00
.. image:: https://codecov.io/gh/django-helpdesk/django-helpdesk/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/django-helpdesk/django-helpdesk
2023-06-16 03:45:10 +02:00
Copyright 2009-2023 Ross Poulton and django-helpdesk contributors. All Rights Reserved.
See LICENSE for details.
django-helpdesk was formerly known as Jutda Helpdesk, named after the
company which originally created it. As of January 2011 the name has been
changed to reflect what it really is: a Django-powered ticket tracker with
contributors reaching far beyond Jutda.
Complete documentation is available in the docs/ directory,
or online at http://django-helpdesk.readthedocs.org/.
Demo Quickstart
---------------
`django-helpdesk` includes a basic demo Django project so that you may easily
get started with testing or developing `django-helpdesk`. The demo project
resides in the `demo/` top-level folder.
It's likely that you can start up a demo project server by running
only the command::
make rundemo
then pointing your web browser at `localhost:8080`.
For more information and options, please read the `demo/README.rst` file.
2011-02-05 05:51:34 +01:00
**NOTE REGARDING SQLITE AND SEARCHING:**
The demo project uses `sqlite` as its database. Sqlite does not allow
case-insensitive searches and so the search function may not work as
effectively as it would on other database such as PostgreSQL or MySQL
that does support case-insensitive searches.
2017-09-13 06:58:00 +02:00
For more information, see this note_ in the Django documentation.
When you try to do a keyword search using `sqlite`, a message will be displayed
to alert you to this shortcoming. There is no way around it, sorry.
Installation
------------
`django-helpdesk` requires:
2017-09-13 06:58:00 +02:00
* Python 3.8+
* Django 3.2 LTS or Django 4.*
You can quickly install the latest stable version of `django-helpdesk`
app via `pip`::
pip install django-helpdesk
You may also check out the `master` branch on GitHub, and install manually::
2012-08-08 06:49:53 +02:00
python setup.py install
Either way, you will need to add `django-helpdesk` to an existing
Django project.
For further installation information see `docs/install.html`
and `docs/configuration.html`
2012-08-08 06:49:53 +02:00
2022-09-09 00:31:02 +02:00
Developer Environment
---------------------
Follow these steps to set up your development environment to contribute to helpdesk:
- check out the helpdesk app to you local file system::
git clone https://github.com/django-helpdesk/django-helpdesk.git
2022-09-09 00:31:02 +02:00
- install a virtual environment
- using virtualenv from the helpdesk base folder do::
virtualenv .venv && source .venv/bin/activate
- install the requirements for development::
pip install -r requirements.txt -r requirements-dev.txt
To reactivate a VENV just run:
source .venv/bin/activate
2022-09-09 00:31:02 +02:00
To see option for the Makefile run: `make`
The project enforces a standardized formatting in the CI/CD pipeline. To ensure you have the correct formatting run::
make checkformat
To auto format any code use this::
make format
Testing
-------
2022-09-09 00:31:02 +02:00
From the command line you can run the tests using: `make test`
See `quicktest.py` for usage details.
2011-02-05 05:59:24 +01:00
Upgrading from previous versions
2012-08-08 06:49:53 +02:00
--------------------------------
If you are upgrading from a previous version of `django-helpdesk` that used
migrations, get an up to date version of the code base (eg by using
2012-08-08 06:49:53 +02:00
`git pull` or `pip install --upgrade django-helpdesk`) then migrate the database::
python manage.py migrate helpdesk --db-dry-run # DB untouched
python manage.py migrate helpdesk
Lastly, restart your web server software (eg Apache) or FastCGI instance, to
ensure the latest changes are in use.
Unfortunately we are unable to assist if you are upgrading from a
version of `django-helpdesk` prior to migrations (ie pre-2011).
You can continue to the 'Initial Configuration' area, if needed.
2012-08-08 06:49:53 +02:00
Contributing
------------
We're happy to include any type of contribution! This can be:
2017-09-13 06:58:00 +02:00
* back-end python/django code development
* front-end web development (HTML/Javascript, especially jQuery)
* language translations
* writing improved documentation and demos
2012-08-08 06:49:53 +02:00
For more information on contributing, please see the `CONTRIBUTING.rst` file.
2017-09-13 06:58:00 +02:00
Licensing
---------
django-helpdesk is licensed under terms of the BSD 3-clause license.
See the `LICENSE` file for full licensing terms.
Note that django-helpdesk is distributed with 3rd party products which
have their own licenses. See LICENSE.3RDPARTY for license terms for
included packages.
2017-09-13 06:58:00 +02:00
.. _note: http://docs.djangoproject.com/en/dev/ref/databases/#sqlite-string-matching