- Platform: Octopress/Jekyll
- URL: http://promet.github.com/
- Ruby 1.9.2
- Bundler
git clone [email protected]:promet/promet.github.com.git blog
cd blog
bundle install
- NEVER push to master
- Update the blog the same way you would update code
- Posts in are
./source/_posts
- Branch off
master
or work locally for longer running articles - Always work off the
source
branch
Before you can publish your first changes you will have to bootstrap your environment. For this run:
rake bootstrap
- Make sure you have the most recent posts
git pull
- Use the built-in Rake task to generate the necessary files:
rake new_post["Title for my new blogpost"]
- Open the generated markdown file
- Add metadata to the YAML front matter ('author' should correspond to a key in _config.yml):
author: marius-ducea
categories: [Install, Setup, etc]
published: false # working draft, will not be published on generate
- Write content
- Generate & Preview
rake generate && rake preview # Watches and mounts a webserver at http://0.0.0.0:4000
- Add and push your changes to github
git add [your changes]
git push origin source
- Deploy your changes
rake deploy
In a few moments, see your new article published on the blog!