bakhti / guestbook

App used in the DevOps challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

askCharlie's Guestbook

Remember the old Guestbooks on Geocities-era websites? They're back! :)

Requirements

  • Ruby 2.3
  • Redis
  • Postgres

Setup

Environment variables

After installation of all gems, set the following environment variables:

  • REDIS_HOST
  • DATABASE_URL

DATABASE_URL needs to be on the following format:

postgres://<username>:<password>@<host>/<database-name>

Database Setup

Before starting the app, you need to run the migrations

$ bundle exec rake db:migrate

Running

$ bundle exec rackup -s Puma

About

App used in the DevOps challenge


Languages

Language:Ruby 51.7%Language:HTML 36.1%Language:Shell 8.8%Language:CSS 3.4%