Skip to content

rsego-hub/ECE461-Group-4-part-2

 
 

Repository files navigation

Authors

Aneesh Iyer
Logan Stapleton
Daniyaal Rasheed
Liam E Roach

Robert Sego Ryan Marchand Andy Lin

to get the cli up-and-running:

  1. there should be an executable run in the root directory, if not (or the compiled executable is incompatable with your os) navigate to /cli_wrapper and run make in the terminal to generate a new executable in the root directory
  2. ./run install installs dependencies as long as you have the ability to execute go
  3. ./run build complies the cli
  4. ./run URL_FILE will run the cli with an ascii delimited file containing ULRs to npm modules

Env file

A .env file specifying logging details and github authentication token should be added to the root directory of the repo

Example .env file

GITHUB_TOKEN=ghp_exampletokenhere
LOG_LEVEL=1
LOG_FILE=/Users/myUser/IdeaProjects/files

Each user will need to replace the GITHUB_TOKEN value with their own authentication token

Testing

A setEnvVars.js file specifying logging details and github authentication should be addedd under the module_registry/.jest directory

Example setEnvVars.js

process.env.LOG_FILE = 'testlog'
process.env.GITHUB_TOKEN = 'ghp_exampletokenhere'

Before running tests, add you github token as a string to the module_registry/.jest/setEnvVars.js

About

Handed off codebase from group 10

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 66.2%
  • JavaScript 23.4%
  • HTML 4.0%
  • Go 3.8%
  • CSS 2.0%
  • Dockerfile 0.6%