-
Notifications
You must be signed in to change notification settings - Fork 0
Home
gonium edited this page Jul 30, 2011
·
6 revisions
This is where the ChaosCoffeeControl website is hosted. It uses OctoPress (http://octopress.org/) for generating the pages.
TODO: Describe how to publish new content
Follow the OctoPress installation instruction. You need to install RVM and some dependencies. I used roughly:
$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Follow the on-screen install instructions.
$ rvm rvmrc trust
$ rvm reload
$ rvm install 1.9.2
$ rvm use 1.9.2
$ gem install bundler
# cd to chaoscoffeecontrol.github.com clone
$ bundle install # installs all dependencies of octopress
The output of the last step looks like this:
Fetching source index for http://rubygems.org/
Installing rake (0.9.2)
Installing RedCloth (4.2.7) with native extensions
Installing posix-spawn (0.3.6) with native extensions
Installing albino (1.3.3)
Installing blankslate (2.1.2.4)
Installing chunky_png (1.2.0)
Installing fast-stemmer (1.0.0) with native extensions
Installing classifier (1.3.3)
Installing fssm (0.2.7)
Installing sass (3.1.5)
Installing compass (0.11.5)
Installing directory_watcher (1.4.0)
Installing ffi (1.0.9) with native extensions
Installing haml (3.1.2)
Installing kramdown (0.13.3)
Installing liquid (2.2.2)
Installing syntax (1.0.0)
Installing maruku (0.6.0)
Installing jekyll (0.11.0)
Installing rubypython (0.5.1)
Installing pygments.rb (0.1.2)
Installing rack (1.3.2)
Installing rb-fsevent (0.4.1) with native extensions
Installing rdiscount (1.6.8) with native extensions
Installing rubypants (0.2.0)
Using bundler (1.0.15)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
You need a local copy of the chaoscoffeecontrol git:
$ git clone git@github.com:ChaosCoffeeControl/chaoscoffeecontrol.github.com.git
Switch to the source branch. Here all the content is produced:
$ git checkout -t origin/source
Your repository should look like this:
$ ls
CHANGELOG.markdown README.markdown config.ru
Gemfile Rakefile plugins
Gemfile.lock _config.yml
README config.rb
You can now work on the source checkout and create new posts. For deployment, you need to have a parallel checkout of the master branch:
$ git clone git@github.com:ChaosCoffeeControl/chaoscoffeecontrol.github.com _deploy
$ rake config_deploy[master]
Now, you can edit posts. See [http://octopress.org/docs/blogging/] for more information.