Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itk-dev/itk-support
Support based on UVdesk with integration to Leantime
https://github.com/itk-dev/itk-support
Last synced: 12 days ago
JSON representation
Support based on UVdesk with integration to Leantime
- Host: GitHub
- URL: https://github.com/itk-dev/itk-support
- Owner: itk-dev
- Created: 2024-03-16T23:37:13.000Z (8 months ago)
- Default Branch: develop
- Last Pushed: 2024-03-18T09:09:22.000Z (8 months ago)
- Last Synced: 2024-10-12T02:24:16.297Z (about 1 month ago)
- Language: PHP
- Size: 576 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ITK support
``` shell
cp ticket_handler.local.yaml.example ticket_handler.local.yaml
``````shell
docker compose pull
docker compose up --build --detach
docker compose exec phpfpm composer install
```## UVdesk
See for details.
```shell
docker compose exec phpfpm php bin/console uvdesk:configure-helpdesk
``````shell
open "http://$(docker compose port nginx 8080)/en/member/login"
``````shell
open "http://itk-support.local.itkdev.dk/en/member/login"
```Sign in as `[email protected]` with password `password`.
`[email protected]`
`password!```` shell
docker compose exec phpfpm php bin/console swiftmailer:email:send [email protected] [email protected] --subject=Test --body='Message body' --ansi --mailer=dev
``````shell
mysqldump --host=$(docker compose port mariadb 3306 | cut -d: -f1) --port=$(docker compose port mariadb 3306 | cut -d: -f2) --user=db --password=db db > .docker/dumps/uvdesk/db.sql
`````` shell
docker compose down && docker compose up --detach --force-recreate --remove-orphans
```## Leantime
```shell
open "http://$(docker compose port leantime 80)"
``````shell
open "http://leantime.itk-support.local.itkdev.dk"
```Sign in as `[email protected]` with password `password`.
```shell
mysqldump --host=$(docker compose port leantime-db 3306 | cut -d: -f1) --port=$(docker compose port leantime-db 3306 | cut -d: -f2) --user=db --password=db db > .docker/dumps/leantime/db.sql
```Talk to Leantime:
``` shell
docker compose exec leantime bin/leantime
```## Manual testing with APIs
The script [`tests/api-test`](tests/api-test) can be run to
1. test creating a couple of support tickets using UVdesk's API (cf.
) and
2. using the [Leantime API](https://docs.leantime.io/#/api/usage) to check that
corresponsing tickets are created in Leantime:Run the script:
``` shell
./tests/api-test
```The scripts assumes use of [Traefik](https://doc.traefik.io/traefik/), but can
run using plain [`docker compose` port
bindings](https://docs.docker.com/reference/cli/docker/compose/port/):``` shell
USE_TRAEFIK=0 ./tests/api-test
```## Coding standards
```shell
docker compose exec phpfpm composer coding-standards-check
``````shell
docker compose exec phpfpm composer coding-standards-apply
``````shell
docker compose run --rm node yarn install
docker compose run --rm node yarn coding-standards-check
``````shell
docker compose run --rm node yarn coding-standards-apply
`````` shell
docker run --volume ${PWD}:/code --rm pipelinecomponents/yamllint yamllint ticket_handler.local.yaml.example
```## Code analysis
```shell
docker compose exec phpfpm composer code-analysis
```