Thanks to reddit user devwalks and his Photogram e-book.
To get started with the app, clone the repo and then install the needed gems:
$ bundle install --without production
Next, migrate the database:
$ rails db:migrate
Run the server:
$ rails server