Giter VIP home page Giter VIP logo

project-management's Introduction

Project Management

CI Status codecov MIT licensed

codecov

Getting Started

  1. If not already done, install Docker Compose (v2.10+)
  2. Run docker compose build --no-cache to build fresh images
  3. Run docker compose up --pull always -d --wait to set up and start the project
  4. Open https://localhost in your favorite web browser and accept the auto-generated TLS certificate
  5. Run docker compose down --remove-orphans to stop the Docker containers
  6. Run docker compose exec php bin/console secrets:set GITLAB_ACCESS_TOKEN to set GitLab Access Token
  7. Run docker compose exec php bin/console secrets:set JIRA_ACCESS_TOKEN to set Jira Access Token
  8. Run docker compose exec php bin/console secrets:set POSTGRES_PASSWORD to set PostgreSQL Password
  9. Run docker compose exec php bin/console secrets:set RABBITMQ_PASSWORD to set RabbitMQ Password.

In the .env file set following variables:

  • GITLAB_URL
  • GITLAB_BACKEND_PROJECT_ID
  • GITLAB_FRONTEND_PROJECT_ID
  • JIRA_URL
  • JIRA_USERNAME
  • JIRA_PROJECT_KEY
  • JIRA_SPRINT_FIELD_ID - customfield id for Sprint section in Jira issues
  • JIRA_SPRINT_BOARD_ID
  • JIRA_MERGE_REQUEST_FIELD_ID - customfield id for Development section in Jira issues

Usage

Publish hotfix command:

docker compose exec -it php bin/console pm:hotfix:publish

Prepare release command:

docker compose exec -it php bin/console pm:release:prepare

Monitoring

RabbiMQ Management http://localhost:15672/#/queues/%2F/messages

Development

Check for Coding Standards violations

Run PHP_CodeSniffer checks:

docker compose exec -it php bin/php_codesniffer

Run PHP-CS-Fixer checks:

docker compose exec -it php bin/php-cs-fixer

Run Rector checks:

docker compose exec -it php bin/rector

Testing

To get started with testing, you need to create a test database first and run migrations:

docker compose exec -it php bin/console -e test doctrine:database:create
docker compose exec -it php bin/console -e test doctrine:migrations:migrate

After creating the database, you can run unit tests:

docker compose exec -it php bin/phpunit

To run unit tests with coverage, you need to enable XDEBUG first:

XDEBUG_MODE=coverage docker compose up -d --wait
docker compose exec -it php bin/phpunit --coverage-clover var/log/coverage-clover.xml

License

The MIT License

project-management's People

Contributors

invis1ble avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.