mikekauffman / gschool-blog

A blog utilizing Middleman, Middleman Blog, Foundation, "Blades of Steel" Theme, and deployable to Heroku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gSchool Blog

  1. Make sure Ruby 2.0 is installed

    rvm install ruby-2.0.0-p451
    
  2. Fork the repository to your own account and then clone it to your machine:

    $ git clone git@github.com:YOURNAME/gschool-blog.git
    
  3. Use bundler to install all of the dependencies

    $ cd gschool-blog
    $ bundle install
    
  4. Run the Middleman Blog

    $ middleman
    
  5. Open the blog in your browser to make sure it works. You can do this from a new terminal tab with:

    $ open http://localhost:4567
    
  6. Check out the existing articles for an example of how to write a blog post. Make note that you can add a tag to the article using the 'tag' setting at the top of an article. See http://middlemanapp.com/basics/blogging/#toc_1 for more information about adding dates and tags to each article.

  7. Remove the existing articles

    $ git rm source/2012-01-01-example-article.html.markdown
    $ git rm source/2013-01-23-introduction.html.markdown
    $ git commit -m "Removed old articles"
    
  8. Create your first article.

    $ middleman article "gSchool - Week 0"
    
  9. Write an article with your recap/reflections of the first week.

  10. Save the article

    $ git add source
    $ git commit -m "Wrote First Article"
    
  11. Create the Heroku application and deploy your blog.

    $ heroku create
    $ git push heroku master
    
  12. Push your changes back to Github for safe keeping

    $ git push origin master
    
  13. (Optional) Rename the blog to something other than the default Heroku name. You can do this via the Heroku console after you log in.

About

A blog utilizing Middleman, Middleman Blog, Foundation, "Blades of Steel" Theme, and deployable to Heroku


Languages

Language:JavaScript 87.3%Language:CSS 9.2%Language:Ruby 2.0%Language:CoffeeScript 1.5%