Skip to content

DavydLiu/nshipster.com

 
 

Repository files navigation

NSHipster

NSHipster is a journal of the overlooked bits in Swift, Objective-C and Cocoa. Updated weekly.

This repository hosts the source code that generates and deploys NSHipster.com and NSHipster.cn. For the articles themselves, see this repository.


Requirements

Running Locally

NSHipster uses Jekyll, a blog-aware, static site generator in Ruby. In addition to the site content, CSS is generated using Sass with Bourbon, Neat, and Bitters.

You can run the site locally with the following commands:

$ git clone git@github.com:NSHipster/nshipster.com.git
$ cd nshipster.com
$ bundle install
$ git submodule update --init
$ foreman start

Deploying

Websites are hosted statically with Amazon AWS S3 & CloudFront, using Rake and s3cmd for deployment (a root s3cmd configuration (./.s3cfg) file with valid IAM credentials is required).

rake publish        # Defaults to en / nshipster.com
rake publish[zh]    # zh-Hans / nshipster.cn

Contact

Follow NSHipster on Twitter (@NSHipster)

License

All code is published under the MIT License.

All content is released under the Creative Commons BY-NC License.

NSHipster® and the NSHipster Logo are registered trademarks of NSHipster, LLC.

About

NSHipster is a journal of the overlooked bits in Objective-C and Cocoa. Updated weekly.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 61.7%
  • HTML 27.0%
  • Ruby 8.0%
  • JavaScript 3.3%