An example webapp running on the fauna cloud database
Ruby HTML CSS Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
public/css
templates
views
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
Vagrantfile
config.ru
rumblelog.gemspec
rumblelog.rb
run.sh

README.md

Rumblelog

A sample blog application backed by the Fauna cloud database.

How to deploy your own Rumbleog to Heroku

Clone either the original project or your fork of the project, the commands we show you assume you're in the root of the project directory.

Fauna

Create a Fauna account

Create a Database, name it anything at all.

At the database page in fauna, create a new class named Pages (capitalization is important). Copy the Server Key, we'll need it later.

Signup for Heroku

Sign up for Heroku and follow along with the QuickStart Guide Get the Heroku Toolbelt

Login to Heroku: heroku login

Pick a unique name for your blog: call it my-fauna-blog: heroku create my-fauna-blog

Create the heroku config vars

  • heroku config:set RUMBLELOG_ADMIN_USERNAME= is the username for creating new posts.
  • heroku config:set RUMBLELOG_ADMIN_PASSWORD= is the password for creating new posts.
  • heroku config:set RUMBLELOG_FAUNA_SECRET= is your Server Key from the fauna database page

Deploy! git push heroku master