Getting started
Before using Pliny you'll need to be familiar (and have available):
- Postgres with the uuid-ossp module. Most installers will have this covered, you can confirm it's available by running
CREATE EXTENSION "uuid-ossp"; - Foreman, to declare processes with Procfile
- Ruby, Rubygems, Sinatra
Pliny is distributed as a gem. Install it like:
Then initialize your new app:
Next up run the bin/setup script to install dependencies, create databases, etc:
You can confirm your environment is setup by running tests:
$ rake
No examples found.
Finished in 0.00008 seconds
0 examples, 0 failures
And use Foreman to boot your app server:
Next: Writing your first app.