Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
guides:upload_lectures [2019/03/17 15:41] vnbruno created |
guides:upload_lectures [2019/03/25 14:24] (current) vnbruno added in screenshot of what a commit may look like |
||
---|---|---|---|
Line 4: | Line 4: | ||
- | Step 0: Get Access | + | # Step 0: Get Access |
- | Step 1: Git Bash | + | * Talk to the... "Web Dude" |
- | Step 2: Clone | ||
- | Make a folder in your home directory named `UBNetDef` then `cd` into that directory. | + | #Step 1: Git Bash |
- | Clone the website `git clone https://github.com/ubnetdef/website.git` | + | |
- | Open the folder in your favorite text-editor, I use atom. | + | |
- | Step 3: Copy Previous Semester | + | * https://git-scm.com/downloads |
- | These are typically our core lectures, so all these files should roughly be the same. | + | #Step 2: Clone |
- | Now update the `01_Welcome.md` file to reflect this semester | + | |
+ | * Make a folder in your home directory named `UBNetDef` then `cd` into that directory. | ||
+ | * Clone the website `git clone https://github.com/ubnetdef/website.git` | ||
+ | * Open the folder in your favorite text-editor. | ||
+ | |||
+ | #Step 3: Copy Previous Semester | ||
+ | |||
+ | * These are typically our core lectures, so all these files should roughly be the same. | ||
+ | * Now update the `01_Welcome.md` file to reflect this semester. | ||
+ | * Then go through each lecture and rename and change the code that needs to be updated. | ||
+ | |||
+ | |||
+ | ``` | ||
+ | --- #in the code on Github there will be **no** space, I needed one so Doku would read it differently | ||
+ | date: "2019-02-14" | ||
+ | title: "Networking + Topology + Activity" #change this to reflect website schedule | ||
+ | |||
+ | course: "Systems Security" | ||
+ | semester: "Spring" | ||
+ | year: 2019 | ||
+ | author: "Destiney Plaza" | ||
+ | |||
+ | slug: "Networking + Topology + Activity" #change this to reflect website schedule | ||
+ | navbar_active_link: "lectures" #keep this the same! | ||
+ | |||
+ | summary: | #you need this bar | ||
+ | Let's dive deep into Networking. | ||
+ | We will be starting from the ground up. | ||
+ | |||
+ | slides: "/slides/spring2019/Coming_Soon.pdf" #this is where the slides are stored to show up | ||
+ | |||
+ | has_page: false #different from Welcome slide, this just makes it auto-show the lecture as a PDF | ||
+ | --- #in the code on Github there will be **no** space, I needed one so Doku would read it differently | ||
+ | ``` | ||
+ | |||
+ | |||
+ | # Step 4: Slides in New Folder | ||
+ | |||
+ | * will need to put the slides in a new folder under `/slides/spring2019/Coming_Soon.pdf` where `spring2019` will be different for you. | ||
+ | |||
+ | |||
+ | # Step 5: Commit Your Changes | ||
+ | |||
+ | * `git add -A` | ||
+ | * `git commit -m "some descriptive message here"` | ||
+ | * `git push | ||
+ | |||
+ | # Step 6: A Typical Commit | ||
+ | |||
+ | This is what adding one week's worth of material will probably look like. | ||
+ | |||
+ | {{:guides:git.png?800|}} | ||