Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avh4/cukes.info

Source for http://cukes.info
https://github.com/avh4/cukes.info

Last synced: 8 days ago
JSON representation

Source for http://cukes.info

Awesome Lists containing this project

README

        

This is the source for the new cukes.info website.

## Running the site locally

### Clone this repository

git clone git://github.com/cucumber/cukes.info.git
cd cukes.info

### Get submodules

git submodule update --init --recursive

### Install Ruby

Ruby 1.9.3 is recommended. You can install it with [RVM](http://beginrescueend.com/). Then install some gems.

gem install bundler
bundle install

### Start the server

bundle exec rackup

Alternatively, if you want any changes to `app.rb` to be picked up:

bundle exec shotgun

### See the site

Just go to http://localhost:9292 (alternatively http://localhost:9393 if you started with `shotgun`)

## Creating new pages

Just create a new file under `views/` with either `.markdown` or `.erb` extension. Use `.erb` to create special layout using the
[Twitter Bootstrap Grid](http://twitter.github.com/bootstrap/scaffolding.html).

Files starting with an underscore (`_`) do not become individual pages---they are meant to be included by `erb` pages.

## Hacking on js/css

Some of the files under `public/` are generated by `rake` and checked into git so they can be served on e.g. Heroku. These files should not be edited
directly. These files are:

* `public/css/bootstrap*.css`
* `public/js/sh_gherkin*.js`
* `public/js/bootstrap-*.js`

## Beta site

Currently at http://hollow-flower-8501.heroku.com/example