-
Make sure Ruby 2.0 is installed
rvm install ruby-2.0.0-p451
-
Fork the repository to your own account and then clone it to your machine:
$ git clone git@github.com:YOURNAME/gschool-blog.git
-
Use bundler to install all of the dependencies
$ cd gschool-blog $ bundle install
-
Run the Middleman Blog
$ middleman
-
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
-
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.
-
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"
-
Create your first article.
$ middleman article "gSchool - Week 0"
-
Write an article with your recap/reflections of the first week.
-
Save the article
$ git add source $ git commit -m "Wrote First Article"
-
Create the Heroku application and deploy your blog.
$ heroku create $ git push heroku master
-
Push your changes back to Github for safe keeping
$ git push origin master
-
(Optional) Rename the blog to something other than the default Heroku name. You can do this via the Heroku console after you log in.
mikekauffman/gschool-blog
A blog utilizing Middleman, Middleman Blog, Foundation, "Blades of Steel" Theme, and deployable to Heroku
JavaScript