Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bscholer/jtrp-challenge
https://github.com/bscholer/jtrp-challenge
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bscholer/jtrp-challenge
- Owner: bscholer
- License: mit
- Created: 2020-09-11T23:50:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T00:05:05.000Z (over 4 years ago)
- Last Synced: 2024-12-17T01:25:02.708Z (about 1 month ago)
- Language: JavaScript
- Size: 4.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# JTRP Challenge
## Setup (Windows):
1. Install [Node.js](https://nodejs.org/en/) and [Git](https://git-scm.com/). The default options for both will sufice.
2. Open *Git Bash*, and navigate to the folder you would like the program's folder to be inside of with `cd`.
3. Run `git clone https://github.com/bscholer/JTRP-Challenge.git`.
4. Open *Powershell*, navigate inside of the folder which was just downloaded, using `cd`.
5. Run `npm install`, which will install the required packages for the project.
1. If npm is not found, follow [these instructions](https://stackoverflow.com/questions/27864040/fixing-npm-path-in-windows-8-and-10#:~:text=Search%20for%20Environment%20Variables%20in,nodejs%5Cnode_modules%5Cnpm%5Cbin) to add the NodeJS folder to your computer's PATH variable.
2. Close *Powershell*, and go back to step 4.## Running the program:
1. Open *Powershell*, and using `cd`, navigate to the directory you downloaded.
2. Run `node .\main.js`, which will run the program.## Updating the program:
1. Open *Git Bash*.
2. Navigate inside of the downloaded directory, using `cd`.
3. Run `git stash`, which locally saves and temporarily hides local changes to the code.
4. Run `git pull`, which pulls down changes to the code.
5. Run `git stash pop`, which will reapply the previous changes to the code, and merge them back into the current codebase (locally).