jmooo / cujo

Django ticketing system to manage custom work requests, job logs and service tickets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Custom Job (cujo) Work Ticket Manager

Ticket system combines management of several concepts, such as work requests, job logs, and service tickets.

Technologies

Installation

  • mkvirtualenv --python=`which python3` cujo - Create new python3 venv, for when homebrew wrecks yours
  • pip install --editable .[tests] - Install required components
  • npm install - Install requirements from project.json
  • gulp watch - Build and auto-reload changes to your scss & js
  • ./manage.py makemigrations - Prepare migrations
  • ./manage.py migrate - Run migrations (needs all db privs for this, not just I.S.U.D)
  • tox - Run test suite
  • View coverage reports at: cujo/htmlcov/index.html

Managing settings and secrets

To choose between dev/stage/prod.py settings append this to your env file, probably at /<venvs>/cujo/bin/postactivate:

  • export DJANGO_SETTINGS_MODULE="cujo.settings.dev"

To keep your usernames/passwords out of git rename secrets.json.example to secrets.json in the root project folder.

Hot tips

  • ./manage.py runserver - Run Django development server
  • django-admin startapp module_name - Create file layout for a new Django module
  • pip list -o - List outdated packages
  • npm outdated - Find your old garbage

License

MIT (see LICENSE)

About

Django ticketing system to manage custom work requests, job logs and service tickets.

License:MIT License


Languages

Language:Python 74.3%Language:HTML 18.4%Language:CSS 4.0%Language:JavaScript 3.2%