nlokare / sfbrigade.github.io

The Code for San Francisco website.

Home Page:http://codeforsanfrancisco.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeForSanFrancisco.org

The website for the Code for San Francisco Brigade

Goals

  1. Explain what Code for San Francisco is and the type of work we do.
  2. To celebrate our events, projects, and discussions!
  3. Encourage current and new members to participate with clear ways to get involved.
  4. To have this site be easily reused by other Brigades just starting out.

Blogging Instructions

If you are tasked with writing posts for the site blog, follow these instructions:

What you'll need:

  • a github account with access to the sfbrigade github organization. (ask somebody at san francisco brigade for this)

To create a new post:

To add an image:

  • click on the add image button.
  • click "selecting one".
  • pick a file on your local computer.
  • in the "image url" field, ensure to change the url from something like "_posts/blog/yourimagename.jpg" to "images/blog/yourimagename.jpg" this is changing the path of the image to be images/blog/ rather then _posts/blog. !this is important, as the image will not work if this is not done!
  • add in alt text for the image. alt text is important for user's that browse by websites using text readers.

Tech

Built using Jekyll, Bootstrap, and the CfAPI.

Contributing

Submitting an Issue

We use GitHub Issues to track bugs and features. We've included several of our open GitHub Issues right on our homepage using the Civic Tech Issue Finder.

Running the Site Locally on Your Computer

To run the site locally on your own computer (most helpful for previewing your own changes), you will need Jekyll installed (click here for Jekyll installation instructions.)

Fork and clone the repository, then run the following command in the root directory of the repo:

jekyll serve

or

jekyll serve --watch which will watch for changes to files.

Your computer should now be serving your local copy of the site at:

http://0.0.0.0:4000.

Sharing Your Changes Using Jekit

You can use the nifty Jekit app to preview changes you make to this site.

To do this, fork this repo, and commit your changes on a branch to your fork. You can then preview what your changes look like by navigating to:

https://jekit.codeforamerica.org/USERNAME/sfbrigade.github.io/BRANCHNAME/

For a basic example of its usage, if GitHub user @lolname has made changes to the projects page on their fork (on the master branch), they can preview their changes using Jekit by going to:

https://jekit.codeforamerica.org/lolname/sfbrigade.github.io/master/projects

Submitting a Pull Request

  1. Fork the project.
  2. Create a topic branch.
  3. Implement your feature or bug fix.
  4. Commit and push your changes.
  5. Submit a pull request.

About

The Code for San Francisco website.

http://codeforsanfrancisco.org


Languages

Language:HTML 69.6%Language:CSS 22.6%Language:Ruby 5.1%Language:JavaScript 2.7%