camping(1)

camping1

Small ruby web framework for mvc type applications

Usage

camping app1.rb app2.rb ...

Overview

Camping is a web framework which consistently stays at less than 4kb of code. The idea here is to store a complete fledgling web application (written in Ruby) in a single file like many small CGIs, but to organize it as a Model-View-Controller application like Rails does. You can then easily move it to Rails once you've got it going.

Specific options:

-h, --host HOSTNAME

Host for web server to bind to (default is all IPs)

-p, --port NUM

Port for web server (defaults to 3301)

-d, --database FILE

SQLite3 database path (defaults to ~/.camping.db)

-C, --console

Run in console mode with IRB

-s, --server NAME

Server to force (mongrel, webrick, console)

Common options:

-?, --help

Show this message

-v, --version

Show version

Files

~/.camping.db

The default database file.

Releases

7 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0–12

--database since Debian 6.0 (Squeeze); --host since Debian 6.0 (Squeeze); --port since Debian 6.0 (Squeeze); --server since Debian 6.0 (Squeeze); -? since Debian 6.0 (Squeeze); -C since Debian 6.0 (Squeeze); -d since Debian 6.0 (Squeeze); -h since Debian 6.0 (Squeeze); -p since Debian 6.0 (Squeeze); -s since Debian 6.0 (Squeeze); -v since Debian 6.0 (Squeeze).

Author

This manual page was written by Paul van Tilburg <[email protected]>, for the Debian GNU/Linux system (but may be used by others).

From camping 2.3-1.1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.