Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby Shell
branch: master
Failed to load latest commit information.
app Augment app with groups
config Initial app version; simple user account store
db/migrate Augment app with groups
models Augment app with groups
spec Augment app with groups
vendor/cache Initial app version; simple user account store
.components Initial app version; simple user account store
.gitignore Initial app version; simple user account store
.rspec Initial app version; simple user account store
Gemfile Initial app version; simple user account store
Gemfile.lock Initial app version; simple user account store
README.md Initial app version; simple user account store
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.