dalexj / student-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

Turing Student Blog

  1. Fork the repository to your own account and then clone it to your machine:

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

    $ cd turing-blog
    $ bundle install
    
  3. Run the Middleman Blog

    $ middleman
    
  4. 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
    
  5. 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.

  6. 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"
    
  7. Create your first article with some title:

    $ middleman article "First Article"
    
  8. Add your content to the generated file.

  9. Save the article

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

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

    $ git push origin master
    
  12. (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 51.5%Language:CSS 30.8%Language:Ruby 12.6%Language:CoffeeScript 5.1%