Pre-Setup
Install NodeJS/NPM: (This manages libraries you probably won't use)
Install Git Shell: (This helps keep track of your code so you're not passing around a USB or using Google Drive)
Take a tour of Git: (It's only a little confusing in the beginning) Learn Git
Instructions:
- Visit https://github.com/Meshiest/cs146-example
- Fork repo
- Open command line
- Windows: Open Git Bash
- Mac/Linux: Open a Terminal
- Clone the repo:
git clone https://github.com/[your git username]/cs146-example.git
* If you get a "Too many arguments" error, remove the brackets from your name - Change directory to the project folder
cd repo-name
- Install project dependencies
npm install
- Copy minified jquery
cp node_modules/jquery/dist/jquery.min.js ./
- If this doesn't work on windows, try opening Git Bash
- Add and commit changes
git add . git commit -m "your name CS146A" git push
- Open a pull requests (Come back to my repo, there might be a notification, otherwise click "new pull request")