CSS & Projects

Projects, Scrum, Trello & Code

Octopress/Github Pages : Create a New Blog Post

Open your terminal :

  • cd Sites/marekje.github.io //use tabs to go faster

  • rvm install ruby-2.1.1 –> because my computer always seems to go back to an older version. It will tell it’s installed, that’s normal

  • rake new_post['The name of your brand new Post']

Open a new terminal tab :

  • jekyll serve –> useful to see your post in local. follow their instructions. Open a new terminal tab
  • rake generate –> each time you want to see your local blog post.

  • Put categories & write your post.

When it’s ready :

  • rake generate
  • rake deploy –> It will ask for your github username/password.
  • It’s on the web !

That’s all :–)