-
Notifications
You must be signed in to change notification settings - Fork 1
Home
rsinger edited this page Sep 14, 2010
·
13 revisions
sinatra
ferret
hpricot
uuid
json
faster_csv
gem install cheap_skate
$ cheapskate init my_new_cheapskate_project
Note the ‘project name’ needs to be something that can be easily turned into a Ruby symbol. Use underscores instead of dashes, don’t start with a number, etc.
This (rake task) will create a new directory with subdirectories to store your CheapSkate configuration, Ferret index, logs, etc.
If you have an existing application with predefined schema.xml:
$ cd my_new_cheapskate_project
$ cheapskate convertschema xml=/path/to/schema.xml
This will take your existing schema document and migrate it to CheapSkate’s YAML-based schema (as ./conf/schema.yml).
Modify ./conf/cheapskate.yml to taste.
$ rackup config.ru
Point a web client at http://localhost:9292/, you should see a “Welcome to CheapSkate” message.
Thing should seem generally “Solr-ish” at this point:
http://localhost:9292/select/?q=: