WikiLoop Wikidata Game: Make contributing to Wikidata.org easy!
This project is a set of games that runs on Distributed Wikidata Game Platform.
Game Links
- Missing date of birth
- Missing date of death
- Missing place of birth
- Conflict date of birth
- Source code pending release
Local Set Up
Prerequisite: git, nodejs, npm
git clone [email protected]:google/wikiloop-wikidata-game.git
cd wikiloop-wikidata-game
Enter one game directory and insall dependeces. For example, missing date of birth.
cd wikiloop_game_missing_date_of_birth
npm install
You should connect to your local mysql instance, setting configuration in this block of code.
const config = {
user: process.env.SQL_USER,
password: process.env.SQL_PASSWORD,
database: db
};
Another choice is create a .env
file containing environment variables by dotenv
, and store the mysql configurations there.
Development
Please refer to wikidata-game API for official development document.
Run
Prerequisite: KoaJS
npm start