Skip to content

hollisjamison/assignment-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment Push

A simple NodeJS application that takes a repo and distributes it to a student list on their repos. There are certain requirements before this script will work:

  1. Students must use the exact same repo-name as the source repo.
  2. Students must add your user as contribuitor on your repo.
  3. You must be a contribuitor on the assignment repo assuming it is private.

Installation

  1. Clone the repo

git clone https://github.com/hollisjamison/assignment-push.git

  1. Move into the repo folder

cd assignment-push

  1. Install dependecies with npm

npm install

Usage

  1. Create a .env file using the provided DOTENV-example.env
    ASSIGNMENT=https://github.com/hollisjamison/repo-name.git
    REPONAME=repo-name
    USERNAME=hollisjamison@gmail.com
    TOKEN=GITHUB-ACCESS-TOKEN
    SLACKTOKEN=SLACK-OAUTH-TOKEN
  1. Customize the .env file by adding your information. Make sure to update the assignment and repo name on each run.
  2. Edit the studentList.js with an array of the list of your student's GitHub usernames.
  3. Run the application

npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published