Joelagbo26 / cats

Because who doesn't like cats?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cats

Amazing Sinatra webapp that returns an URL for a random cat picture on its / endpoint.

Configuration

You may set these variables through the process's ENV:

  • RACK_ENV: Defaults to production.
  • PORT: Defaults to 8000.
  • WEB_CONCURRENCY: Number of processes managed by Puma. Defaults to 1.
  • MAX_THREADS: Number of threads per process. Defaults to 1.

Running it

If you're bundling the gems, use bundle exec puma; otherwise, puma is enough.

About

Because who doesn't like cats?


Languages

Language:Ruby 100.0%