Git Product home page Git Product logo

drafty's Introduction

Welcome to the Drafty Source Code

Drafty strives to keep data up-to-date by recruiting people to review it from the crowd of people who are already using it. The data is hosted on Drafty, a web-based spreadsheet. Potential reviewers are matched to topics they likely have an interest in, by inferring their interest from interactions such as text highlighting, pointing, searching, sorting, and clicks. This continual review allows the maintenance of data to be self-sustaining over time.

HCOMP 2017 and CSCW 2021 papers

Please look in the branch "shaun=dev-branch" to find the source code used in the papers:

Drafty: Enlisting Users to be Editors who Maintain Structured Data Shaun Wallace, Lucy van Kleunen, Marianne Aubin-Le Quere, Abraham Peterkin, Yirui Huang, Jeff Huang

Case Studies on the Motivation and Performance of Contributors Who Verify and Maintain In-Flux Tabular Datasets Shaun Wallace, Alexandra Papoutsaki, Neilly H. Tan, Hua Guo, Jeff Huang

Basic Systems and Server Operations

For additional scripts, the server folder has numerous scripts to update and manage the live server.

Install MariaDB (MySQL) using Docker

cd docker/<local_dev or production>/
update the root password in the docker-compose.yml file: - MYSQL_ROOT_PASSWORD=<your_db_password>
docker-compose up -d

Install project dependencies and Run Locally (we use Node v16.3.0 and NVM to switch between versions of Node and NPM)

cd backend
npm install
npm run watch

Update Drafty and Restart Drafty’s Web Server

cd <file_directory_of_this_repo>
git stash
git pull
cd backend/
npm run build
pm2 reload all

Update CS Open Rankings (Production Server Only)

cd /vol/csopenrankings
git pull

NOTE: cs open rankings is served statically from drafty’s web server

Restart Drafty’s Web Server (Production Server Only)

pm2 reload all

drafty's People

Contributors

dependabot[bot] avatar dianalee22 avatar jeffhuang avatar kaki1104 avatar longqdo avatar pengzhengyi avatar swallace21 avatar swallace2121 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.