EternalDeiwos / ticket-bot

A simple ticket management tool for Discord guilds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ticket Bot

TODO Banner

standard-readme compliant

A simple ticket management tool for Discord guilds

Caution

This application is WIP. If you need assistance please open an issue but be aware that at any point this might not be under active development.

Table of Contents

Install

NodeJS and the YARN package manager are required to run the project. Use only the latest LTS releases.

To install project dependencies run:

yarn

Usage

Configuration for Development

Configuration options for both Docker Compose and the application are set by editing .env. The file is tracked in the repository so do not use it to store secrets; instead set secret values using .env.local which accepts the same values and will override those provided elsewhere. Note that this only works for docker-compose.yml if you use multiple --env-file flags, or use the helper script provided (yarn docker-compose ...).

A full list of application configuration options can be found here.

Start Docker Containers

If you want to start the containers run:

yarn docker-compose up -d

If you want to stop those containers and recover their resources run:

yarn docker-compose down

Running in Development

You can start the server for development by running:

yarn start:dev

Linting

Before committing your changes to the repository, you should first lint the code:

yarn lint

All errors and warnings need to be addressed. No code will be merged without tests passing.

Tests

If you want to run the test suite:

yarn test

You can run integration tests by using:

yarn test:e2e

Maintainers

EternalDeiwos

Contributing

PRs accepted. All contributions must pass all linters, style requirements, and static code analysis to be considered.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT License

Copyright (c) 2024 Greg Linklater

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A simple ticket management tool for Discord guilds


Languages

Language:TypeScript 98.6%Language:Dockerfile 0.7%Language:JavaScript 0.6%Language:Shell 0.2%