Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db/migrate
models
spec
vendor/cache
.components
.gitignore
.rspec
Gemfile
Gemfile.lock
README.md
config.ru
curl_test_commands.sh

README.md

chefconf-workshop-dev-app

This is a simple REST server for use in Opscode's Developer Training classes.

Install

bundle install --binstubs
# kick bundle exec to the curb
export PATH=.:$PATH
cp config/database.rb.example config/database.rb

Run Tests:

padrino rake sq:migrate:up -e test
padrino rake spec

Run the App

padrino start

Example CURL Interactions

./curl_test_commands.sh http://localhost:3000

Be sure to use an appropriate server address (if testing locally, the port Padrino uses may be different; if testing the app on a VM, use the appropriate host).

Something went wrong with that request. Please try again.