The blog for CocoaPods
Ruby HTML
Latest commit 0e29b5b May 29, 2016 @segiddins segiddins Merge pull request #132 from CocoaPods/seg-2016-sotu
Add 2016 SotU announcement post
Failed to load latest commit information.
_drafts Publish the shallow clone post mortem May 4, 2016
_includes add blg post for komittee Feb 3, 2014
_layouts
_plugins cocoadocs May 26, 2014
_posts
archives add a button for the archives Dec 27, 2013
assets/blog_img Initial stab at a blog post for the mac app May 11, 2016
shared @ 425bac0
.gitignore
.gitmodules
.tm_properties update to latest shared Nov 24, 2013
.travis.yml
CNAME
Gemfile
Gemfile.lock
README.md
Rakefile
_config.yml Fixes to RGSoC blog Jan 28, 2016
feed.xml
important.xml Add RSS feed for blog posts tagged 'important' Mar 29, 2014
index.html
robots.txt

README.md

blog.cocoapods.org

The blog for CocoaPods

Setup

To install git submodules and grab ruby dependencies:

$ rake bootstrap

Development

To start a local server that shows all posts including drafts:

$ rake serve:drafts

This is also the default task, so just rake will do the same.


Or if you want to see the blog *without any draft posts, as the blog would look if it were to be deployed right now:

$ rake serve:published

The shared submodule is the cocoapods shared resources repo that holds shared design notes and assets.

Add a new author

Navigate to the _config.yml file. Add a nickname for you followed by your full name, twitter handle and gravatar hash.

Add a new post

Create a new file in _post directory following the format year-month-day-blog-post-title.markdown

Start the post using Jekylls Front Matter:

---
layout: post
title:  "Blog Post Title"
author: nickname
categories: tags that are relevant
---

Deployment

Run rake deploy to push to site the gh-pages branch.

The _gh-pages folder (which is ignored) is used to checkout the gh-pages of this repo. rake deploy will push the built version of the site to that branch and push to the server pulling in any changes.

Drafts

Drafts are stored in the _drafts folder to leverage the drafts feature of jekyll. The rake serve task is configured to show the drafts.

License

This repository and CocoaPods are available under the MIT license.