kanwisher / class-distributer

Used by TA's and Instructors to easily move activity files/folders and commit them to the class repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to Class Distributer 👋

Twitter: kanwisher

Allows TA/Instructor to update the class repository with an activity solution

Install

npm install

Usage

Rename config.json.example to config.json

In config.json, update trilogyDir and classDir values to their respective repo directory locations on your machine, then run:

node class-distributer

Each action will update both the trilogy and class repositories, error handling for git issues is not very sophisticated at this time.

Push solutions for a single activity will open a menu to select the curriculum week and activity, then it will move the activity from your trilogy repo folder to your class folder. Then it will add, commit (with message) and push to your class remote repository.

Push unsolved activities for an entire week will open a menu to select the curriculum week, then it will move everything but the Solved folder from your trilogy repo folder to your class repo folder. Then it will add, commit (with message) and push to your class remote repository.

Run tests

npm run test

Author

👤 David Kanwisher

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

Used by TA's and Instructors to easily move activity files/folders and commit them to the class repository


Languages

Language:JavaScript 100.0%