From 96721a049376d1cedbd7f04a3bc40400b87dffb2 Mon Sep 17 00:00:00 2001 From: Winston Date: Wed, 18 Jul 2012 15:18:38 +0800 Subject: [PATCH] Readme is important. --- README.md | 17 +++++++++++++++++ views/application.haml | 25 +++++++++++++++++++++---- views/css/application.scss | 8 +++++++- 3 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0126a84 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# soloistrc builder + +Do you use [soloist](https://github.com/mkocher/soloist)? + +This simple app will help you build your *soloistrc* file easily from a (GitHub) directory of recipes. + +Typically, this is our workflow for setting up our developer and ci machines: + + > mkdir workspace && cd workspace + > git clone https://github.com/newcontext/pivotal_workstation + + # Build a soloistrc file by choosing from recipes in ~/workspace/pivotal_workstation/recipes + + > gem install soloist + > soloist + +Build your soloistrc now at [http://soloistrc_builder.herokuapp.com](http://soloistrc_builder.herokuapp.com). diff --git a/views/application.haml b/views/application.haml index d08e0bb..7661580 100644 --- a/views/application.haml +++ b/views/application.haml @@ -1,6 +1,23 @@ %section#readme + :markdown + Do you use [soloist](https://github.com/mkocher/soloist)? + + This simple app will help you build your *soloistrc* file easily from a (GitHub) directory of recipes. + + Typically, this is our workflow for setting up our developer and ci machines: + + > mkdir workspace && cd workspace + > git clone https://github.com/newcontext/pivotal_workstation + + # Build a soloistrc file by choosing from recipes in ~/workspace/pivotal_workstation/recipes + + > gem install soloist + > soloist + + [Try it now](/build?url=https://github.com/newcontext/pivotal_workstation), or use your own Chef Cookbooks repo. + %section#config - %form{action: "/build", method: "get"} - %label GitHub Repository URL - %input{type: "text", id: "url", name: "url", placeholder: "https://github.com/newcontext/pivotal_workstation"} - %button{type: "submit"} Submit + %form{action: "/build", method: "get"} + %label GitHub Repository URL + %input{type: "text", id: "url", name: "url", placeholder: "https://github.com/newcontext/pivotal_workstation"} + %button{type: "submit"} Submit diff --git a/views/css/application.scss b/views/css/application.scss index f9760ec..c4435de 100644 --- a/views/css/application.scss +++ b/views/css/application.scss @@ -2,7 +2,13 @@ @import 'bourbon/bourbon'; body { - font-family: $monospace; + font-family : $monospace; +} + +code { + font-size : 14px; + font-style : italic; + color : gray; } header,