once you have access to this repo you can run the following commands in a terminal:
- git clone [email protected]:SFPC/codesocieties_students.git
- cd codesocieties_students
- atom . (or open folder in text editor of choice)
- make changes to files (index.html for example)
- save changes
- go back to terminal window
- git status (to see a list of which files have been edited/added)
- git add -A (to add any newly created files)
- git commit -am "your message"
- git push origin master
if you already have the repo on your computer make sure to run the following commands before making changes:
- git fetch origin (this will download all of the latest changes from the repository)
- git reset --hard origin/master (this will write all of those changes into your local version of the repository)
- Clone this repo
- Add a new item to the array in
/list-of-blogs/blogs.json
with your title and url - Push the updates to this repo!
- Add a
<div id='sfpc-marquee'></div>
somewhere on your page - Add
<script src='http://cdn.jsdelivr.net/gh/SFPC/codesocieties_students/list-of-blogs/get-blog-list.js'></script>
at the bottom of your page
Note: The script currently just adds a list of anchor tags to that div element, but feel free to create and share your own implementation
Ping @matt if you have any questions & happy blogging!