Tickette is a support ticketing system that handles customer inquiries. It also provides all of the contexts you need to resolve issues and allows you to categorize, prioritize, and assign customer tickets.
These instructions will get you a copy of the project up and running on your local machine.
- Git clone or download the project files.
git clone https://github.com/hazzillrodriguez/Tickette.git
cd Tickette
- Create and activate the virtual environment then install requirements.
python -m venv env
source env/Scripts/activate
pip install -r requirements.txt
- Set the environment variables.
export FLASK_APP=run
export FLASK_ENV=development
- Start Postgres or SQL Server database and update
SQLALCHEMY_DATABASE_URI
inconfig.py
.
SQLALCHEMY_DATABASE_URI = 'mysql://admin:admin@localhost/tickette'
- Create the database.
flask shell
db.create_all()
- Start the development web server.
flask run
After that, navigate to http://localhost:5000/login
in your browser to see the application. Log in using these credentials to access the admin, agent, and client areas.
Administrator
email: admin@tickette.com
password: admindemo
Agent
email: agent@tickette.com
password: agentdemo
Customer
email: customer@tickette.com
password: customerdemo
Start an SMTP server in a new terminal.
python -m smtpd -n -c DebuggingServer localhost:1025
Note: It does not send the email out to the target email server, it just discards the email and prints out the email content on the console. If you want to send an email to your SMTP server like Gmail, update the MAIL_SERVER
configuration in config.py
.
To run all the tests at once, use the command:
python -m pytest -v
Create, update, comment, and delete ticket
Distributed under the MIT License. See LICENSE
for more information.
Hazzill Rodriguez — LinkedIn — hazzillrodriguez@gmail.com