Amazing Sinatra webapp that returns an URL for a random cat picture on its /
endpoint.
You may set these variables through the process's ENV:
RACK_ENV
: Defaults toproduction
.PORT
: Defaults to8000
.WEB_CONCURRENCY
: Number of processes managed by Puma. Defaults to1
.MAX_THREADS
: Number of threads per process. Defaults to1
.
If you're bundling the gems, use bundle exec puma
; otherwise, puma
is enough.