Skip to content
nricciar edited this page Sep 14, 2010 · 12 revisions

Park Place, An Amazon S3 Clone

For those times that you want all that S3 has to offer, but don’t want to pay for it :)

Getting Started

Park Place is built on the rack webserver interface , and camping. Once you have installed these dependencies along with any optional packages you are ready to go.

Quick Start

Now that you have everything installed to run Park Place it’s time to get your server up and running. You can use any web server that rack supports by supplying the -s option at startup. By default Park Place will attempt to use mongrel.

./bin/parkplace -s mongrel 127.0.0.1 3002

To run Park Park Place in the background simply use the -D startup option. You can set a custom pid file location by supplying the -P option.

./bin/parkplace -D -P /var/run/parkplace.pid 127.0.0.1 3002

Common options:

    -s, --server SERVER              serve using SERVER (defaults to 'mongrel')
        --rackup FILE                specify rack config location (defaults to 'config.ru')
    -d, --directory DIRECTORY        Park Place directory (defaults to ~/.parkplace)
        --[no-]x-sendfile            X-Sendfile support (default enabled)
    -D, --daemonize                  run daemonized in the background
    -P, --pid FILE                   file to store PID (default: parkplace.pid)
    -v, --verbose                    Run verbosely
    -u, --debug                      Debug Mode

Slave replication options

    -r, --replicate HOSTNAME         Mirror master server
        --replicate-secret KEY       secret key for replication
        --replicate-user USERNAME    for authentication (defaults to 'admin')

Specific options

    -h, --help                       Show this message
        --version                    Show version
Clone this wiki locally