Git Product home page Git Product logo

artsy.github.com's Introduction

The dev blog is at http://artsy.github.com and is powered by Octopress.

Setup

The blog is two branches in https://github.com/artsy/artsy.github.com - master for the live site and source for the contents of the blog. You first check out the source and then create a _deploy subfolder that points to the master branch. The rest is taken care by Octopress Rake tasks.

$ git clone [email protected]:artsy/artsy.github.com.git
$ cd artsy.github.com
artsy.github.com$ git checkout source
artsy.github.com$ mkdir _deploy
artsy.github.com$ cd _deploy
artsy.github.com/_deploy$ git init
artsy.github.com/_deploy$ git remote add origin [email protected]:artsy/artsy.github.com.git
artsy.github.com/_deploy$ git pull origin master
artsy.github.com/_deploy$ cd ..
artsy.github.com$

One Liner of above

git clone [email protected]:artsy/artsy.github.com.git;cd artsy.github.com;git checkout source;mkdir _deploy;cd _deploy;git init;git remote add origin [email protected]:artsy/artsy.github.com.git;git pull origin master;cd ..

See it Locally

artsy.github.com$ rake generate
artsy.github.com$ rake preview

Authoring an Article

See blogging basics.

To generate a new post, run rake new_post["Title of Post"]. This will generate a markdown file in source/_posts. Be sure to add your name as the author of the post and include a couple of categories to file the post under. Here's some sample header YAML:

---
layout: post
title: "Responsive Layouts with CSS3"
date: 2012-01-17 11:03
comments: true
author: Matt McNierney
github-url: https://www.github.com/mmcnierney14
twitter-url: http://twitter.com/mmcnierney
blog-url: http://mattmcnierney.wordpress.com
categories: [Design, CSS, HTML5]
---

When you have authored an article, git add and git commit it, then push to the source branch with git push origin source. To publish the post, you need to deploy the blog.

Deploy

artsy.github.com$ rake generate
artsy.github.com$ rake deploy

artsy.github.com's People

Contributors

imathis avatar dblock avatar fhemberger avatar mmcnierney14 avatar orta avatar craigspaeth avatar zamiang avatar joeyaghion avatar mzikherman avatar ashfurrow avatar gib avatar pilif avatar gisikw avatar cavvia avatar lukearmstrong avatar mikl avatar rwdaigle avatar tomhoover avatar bendoerr avatar omo avatar tgray avatar pw avatar jakemcc avatar dstnbrkr avatar jcftang avatar jlong avatar kent avatar speednoisemovement avatar melwin avatar melriffe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.