Skip to content

pgrimaud/git-stars

Repository files navigation

Git stars

About

This project was inspired by Git Awards! Since it apparently isn't supported anymore we thought we'd take the concept back and add our own touch to it.

This was made in couple weeks as an exercise in the context of an internship.

Embed

You can embed your GitHub statistics on your profile thanks to the cards we create for each of our users, get yours by visiting your Git Stars profile and clicking on the link icon.

[![Git Stars](https://git-stars.com/share/embed/github.svg)](https://git-stars.com/user/github)

Or

<p align="center">
  <a href="https://git-stars.com/user/github"><img src="https://git-stars.com/share/embed/github.svg"></a>
</p>

Installation

  • Fork project, then clone it
  • cp .php-cs-fixer.dist.php .php-cs-fixer.php
  • cp .env .env.local
  • Edit credentials on .env.local file
  • Run containers : docker-compose up -d
  • composer install
  • yarn && yarn build
  • Create database : php bin/console doctrine:database:create
  • Execute migrations : php bin/console doctrine:migrations:migrate
  • Execute languages fixtures : php bin/console doctrine:fixtures:load --groupe=partial
  • Setup queues : php bin/console messenger:setup-transports

Useful commands

  • php bin/console app:fetch:active-users : Fetch new actives users from Github Archive
  • php bin/console app:twitter:send-top : Tweets the users of the day on Twitter
  • php bin/console app:update:ranking : Update ranking table
  • php bin/console messenger:consume users : Consume messages on users queue

Contributors

Thanks goes to these wonderful people (emoji key):


Julien Cousin-Alliot

🤔 💻 📖

Pierre Grimaud

🤔 💻 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Feedback

You found a bug? You need a new feature? You can create an issue if needed or contact us on Twitter.

License

Licensed under the terms of the MIT License.