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

Park Place, An Amazon S3 Clone

Getting Started

The only two REQUIRED packages are the rack webserver interface, and markaby. You can also install some optional packages for additional features like versioning. For more information on Park Place installation and optional packages Park Place can use please see the Install Checklist.

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