mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-27 17:18:50 +01:00
162a368b9d
now requires the API |
||
---|---|---|
.. | ||
demodesk | ||
manage.py | ||
README.rst | ||
setup.py |
django-helpdesk Demo Project ============================ This folder contains a demo Django project that illustrates a simple django-helpdesk installation with common settings. This project is *NOT* production ready, but can be used as a template to get started. In particular, this should be useful for testing purposes and for those that want to contribute to development of django-helpdesk. For more information on contributing, see the CONTRIBUTING.rst file in the top level of the django-helpdesk directory. Running the demo ---------------- While not recommended, the simplest way to get started is to simply install django-helpdesk to your system python package directory. Ideally, you'd use a virtualenv instead (see below for details). To use your system directory, from the top-level django-helpdesk directory, simply run: make rundemo Once the console gives a prompt that the HTTP server is listening, open your web browser and navigate to: localhost:8080 You should see the django-helpdesk public web portal! If you shut down the server, you can't immediately re-run the demo because the make commands would encounter problems trying to re-write the database. Instead, before running the demo, you will need to first clean the demo: sudo make distclean You may need to use sudo with other make targets too. *NOTE ON USING VIRTUALENV* Rather than using the system python, you probably want to use a virtualenv. If so, you might change the pip in the makefile to point to your virtualenv's pip instead before running: make rundemo *NOTE ON DJANGO VERISON* The demo project was configured with Django 2.2 in mind. Django 3.2 LTS is highly recommended. Django 1.11 is NOT supported. *NOTE ON ATTACHMENTS* The folder: demo/demodesk/media/helpdesk/attachments comes pre-populated with a couple of attachments, to demo how django-helpdesk deals with attachments. You can look in this folder to see the raw data. You can also create a different folder for this and update settings.py, but note that this will break the demo as some attachments may not be available unless you migrate the existing data to the new location. The demodesk project -------------------- "demodesk" is the name of our demo Django project. You probably will want to look at demo/demodesk/config/settings.py and read the comments, which walk you through a basic installation with common configuration options. The top-level Makefile also gives a list of commands so you can see how to get the project running. Of course, when you plan to deploy this project, it is recommended to use a "real" HTTP server like apache or nginx, and so further configuration will be necessary. More information can be found in the top-level docs/ folder.