BryanNilsen / Instructor-Brain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to Use this Repo:

Clone this Repo

From your terminal:

  1. Clone this repo: git clone git@github.com:BryanNilsen/Instructor-Brain.git

  2. Install dependencies: npm install

  3. Remove path to this repository: git remote rm origin

Create a New Repo in Your GitHub Account

From your browser:

  1. Create your own repository on GitHub

  2. After creating the repository, copy the repo URL ( this example uses SSH )

Push This Cloned Repo to Your New Repo

Back in your Terminal:

  1. Add the URL to your repo: git remote add origin git@github.com:{your GH username}/{name of your repo}.git

  2. Now you can push this cloned repo to the new repo you created under your username: git push origin master

So far we have cloned this repo, created a new repo and pushed up our copy and you should see the code on GitHub. Now we have to make just a few changes in order for you to deploy it for your students to use.

Edit Files

  1. Launch your favorite code editor from the Instructor-Brain root directory. This is where the package.json file lives

In your code editor:

  1. Open the package.json file and locate the line: "homepage": "https://BryanNilsen.github.io/Instructor-Brain"

  2. Replace BryanNilsen with your GitHub username and Instructor-Brain with the name of the new repo you just created so it looks like this: "homepage": "https://{Your-Username}.github.io/{Your-Repo}"

  3. Save the changes to package.json

The next step assumes you have a Github Project Board or alternative url for the students to access in order to sign up to receive help. If not, take some time to do that now.

Still in your code editor:

  1. Open Card.js from the src > components directory, and change the URL on line 8 to the location of your instructor help project board: const link = "{your path here}

  2. Save the changes to Card.js

You're Doing Great - We're Almost Finished!

Back in your terminal:

  1. add your saved changes: git add --all

  2. commit your changes: git commit -m "{your commit message here}"

  3. push your changes: git push origin master

  4. deploy your app: npm run deploy

That's it!!

You should now be able to view your app online at the homepage path you provided above; i.e. https://{Your-Username}.github.io/{Your-Repo}

This project was bootstrapped with Create React App.

About


Languages

Language:JavaScript 57.7%Language:CSS 31.2%Language:HTML 11.1%