public
Description: Vanilla in Ruby
Homepage: http://lazyatom.com
Clone URL: git://github.com/lazyatom/vanilla-rb.git
lazyatom (author)
Fri Oct 16 07:31:52 -0700 2009
commit  9b1ba50901ea539166ceeb0239975d798e0f6e36
tree    0d759e42e8fc497d548c86e9c10808f523bf068e
parent  ca1299db94c7703da75079f32308a93926a0adaa
vanilla-rb / README_FOR_APP
100644 47 lines (32 sloc) 1.671 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
                      WELCOME IN VANILLA
                                 VANILLA
                                 VANILLA
                                 VANILLA
What you've got:
 
  config.ru - this is the rack configuration, which is used to start
               the application by your webserver
  config.yml - the configuration; by default it specifies the directory
               which contains the soup, and a cookie secret
  soup/ - the default soup directory, where your snips are stored
  
 
For an overview of vanilla, start your site and look at the tutorial:
 
  $ rackup # then open http://localhost:9292/vanilla-rb-tutorial
 
 
By default, you won't be able to edit anything on the site, because
you can't log in. If you want to edit snips on the site, you'll need
to create a user.
 
  $ rake vanilla:add_user
 
Your other option is to edit the soup directly; you can edit any file
in the soup directory using your favourite editor, and the changes
will be reflected automatically. The snip files are slightly modified
YAML files. Here's one describing Soup itself, in soup/soup.yml:
 
  Soup is a data store supporting the {link_to snip}-space that {link_to vanilla-rb} expects.
 
  It's hosted on github [here][github].
  
  [github]: http://github.com/lazyatom/soup
  --- # Soup attributes
  :name: soup
  :created_at: 2009-09-27 14:14:16.096231 +01:00
  :updated_at: 2009-09-27 14:14:16.096232 +01:00
  :render_as: Markdown
 
The 'content' of the snip is at the top of the file, followed by
 
  --- # Soup attributes
  
which starts the rest of the snip attributes. Again, see the online
tutorial for information about what each attribute signifies.