-
Fork the repository to your own account and then clone it to your machine:
$ git clone git@github.com:YOURNAME/turing-blog.git
-
Use bundler to install all of the dependencies
$ cd turing-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 with some title:
$ middleman article "First Article"
-
Add your content to the generated file.
-
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.
-
Notifications
You must be signed in to change notification settings - Fork 66
turingschool/student-blog
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A blog utilizing Middleman, Middleman Blog, Foundation, "Blades of Steel" Theme, and deployable to Heroku
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published