chubin / gitstar-ranking

GitHub star ranking for users, organizations and repositories

Home Page:https://gitstar-ranking.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitstar Ranking

GitHub star ranking for users, organizations and repositories.

https://gitstar-ranking.com

Build Status

Server Worker
Build Status wercker status

Docker Hub

Docker container images are built on Docker Hub with Automated Build.

Screen Shot

screen shot

Development

Prerequisites

Install following dependencies.

  • Ruby 2.4.1
  • Java 1.8.0
  • MySQL 5.7
  • Node.js 6.0.0+
  • Yarn

Then, execute following command.

bin/setup

Ubuntu

curl -sL deb.nodesource.com/setup_6.x | sudo bash -
sudo apt install nodejs

# https://yarnpkg.com/lang/en/docs/install/
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

# make config/database.yml functional
sudo vi /lib/systemd/system/mysql.service # add --skip-grant-tables to ExecStart
sudo systemctl daemon-reload
sudo systemctl restart mysql
mysql -uroot
mysql> use mysql;
mysql> update user set authentication_string=PASSWORD('') where User='root';
mysql> update user set plugin='mysql_native_password' where User='root';
mysql> flush privileges;
sudo vi /lib/systemd/system/mysql.service # remove --skip-grant-tables from ExecStart
sudo systemctl daemon-reload
sudo systemctl restart mysql

Run servers

foreman start

Requirements

  • MySQL's time_zone must be UTC.

About

GitHub star ranking for users, organizations and repositories

https://gitstar-ranking.com

License:MIT License


Languages

Language:Java 49.4%Language:Ruby 37.0%Language:HTML 10.2%Language:CSS 1.4%Language:JavaScript 1.4%Language:Dockerfile 0.4%Language:Shell 0.2%