Skip to content

Repository files navigation

github_projects_testing

Best resource for github API: https://octokit.github.io/rest.js/

First, add in your api key (access token) to the apikey.js file. This token can be generated here: https://github.com/settings/tokens.

Usage:

  1. If you like to download project cards, make sure you point it at the correct owner and repo. Use by running node retrieveCards.js.

  2. If you would like to upload project cards, use createCards.js. This script will read in studentCards.json and upload all of the cards in the cards array. You can change what students to upload cards to by changing the github usernames in the students array in projectConfig.json. Feel free to alter any of the names for anything and change what the projects are called if need be. This script is ran with node createCards.js

  3. Adding cards is pretty much the same as creating, just use addCards.js. This file will pull cards to update from studentCards.json. The easiest way to generate new cards would be to point retrieveCards.js at another project in order to retrieve different cards (for a later stage). This file can be run with node addCards.js.

  4. If there are any cards in the first column, you can use deleteCards.js to delete all cards. Use node deleteCards.js.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages