Giter Club home page Giter Club logo

oss-projects-data-in-github's Introduction

Health Evaluation and Assessment Method for Open Source Software Projects in GitHub

create GHTorrent MySql database First, you need load GHTorrent to your local computer. Step is as follows:

(a)download ghtorrent dataset:
	site: https://www.ghtorrent.org/downloads.html

(b)decompress the dataset:
	tar zxvf mysql-2018-06-01.tar.gz

(c)connect to the mysql database, create a new database and user (you can replace 'ghtorrentuser','ghtorrentpassword' with others):
	mysql -u root -p
	create user 'ghtorrentuser'@'localhost' identified by 'ghtorrentpassword';
	create user 'ghtorrentuser'@'*' identified by 'ghtorrentpassword';
	create database ghtorrent_restore;
	grant all privileges on ghtorrent_restore.* to 'ghtorrentuser'@'localhost';
	grant all privileges on ghtorrent_restore.* to 'ghtorrentuser'@'*';
	grant file on *.* to 'ghtorrentuser'@'localhost';

(d)import the decompressed data into the database ghtorrent_restore:
	cd mysql-2018-06-01
	./ght-restore-mysql -u ghtorrentuser -d ghtorrent_restore -p ghtorrentpassword . 

(e)if you want to visit database remotely, then:
	CREATE USER 'ystian'@'%' IDENTIFIED BY '123456';
	GRANT select ON ghtorrent_restore.* TO 'ystian'@'%'

oss-projects-data-in-github's People

Contributors

tianyangsheng3 avatar xiaomina 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.