Deploying Vanilla.rb
Here be dragons...
At the moment, this is how I run vanilla:
- vanilla, pulled from github directly
- sqlite database for snips, created originally by rake bootstrap
- thin server, running against the vanilla.ru file provided
Serving
It should work as a CGI/FCGI script, without issue. I'm not sure if having thin run the rackup file directly is best, either, but it works for now.
Upgrading
This is the big unknown. Users may change the contents of 'system' snips (like 'system', or dynasnips). Ideally, we'd want to flag when some upgrades might interfere with custom changes. How does smalltalk do it? In many ways, the snip store is like a persistent object store...