The Wayback Machine - https://web.archive.org/web/20201218081731/https://github.com/d120/pyticket
Skip to content
main
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
api
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Make task management better!

Build Status Coverage Status

Installation (development)

Install a virtual environment:

sudo pip3 install virtualenv

Clone the repo

git clone https://github.com/d120/pyticket.git

Create and activate the virtual environment:

virtualenv venv
source venv/bin/activate

With the new terminal look (like: (venv)username@hostname:~/projectname) you are ready to install the requirements:

pip3 install -r requirements.txt

Now all requirements for the project are downloaded and installed. Open settings within mysite:

cd pyticket

Edit the settings.py file with an editor and enter your site configurations:

BASE_URL = "<your base url without trailing slash"
ALLOWED_HOSTS = ['allowed hosts']

To enable the email summary functionality. You have to set the parameters for your email host:

EMAIL_HOST = ''
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
DEFAULT_FROM_EMAIL = ''

To connect the ticketsytem with an LDAP the following parameters must be set.

AUTH_LDAP_SERVER_URI = ""
AUTH_LDAP_BIND_DN = ""
AUTH_LDAP_BIND_PASSWORD = ""
AUTH_LDAP_USER_SEARCH = LDAPSearch("ou=users,dc=example,dc=com",
                                   ldap.SCOPE_SUBTREE, "(uid=%(user)s)")

The database must be updated:

python3 manage.py migrate

Create an admin to control the ticketsystem:

python3 manage.py createsuperuser

Run the server:

To run local on 127.0.0.1:
python3 manage.py runserver

To run on your server for example 12.12.134.11
python3 manage.py runserver 12.12.134.11

About

Ticketsystem für trac Liebhaber*innen

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.