dradux / example-rails-todo

Example rails todo app with database (postgres) and cache (redis)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example rails + docker-kubernetes-freelunchci app

This is an example rails app with docker+kubernetes+freelunchci. Please note that this app is not intended to be a production ready app or the base for a production rails app.

Notices

  • please see the docs directory for more documentation / information.

Prerequisites

  • docker
  • docker-compose

Setup

  • docker-compose build

Run

  • docker-compose up
  • initialize the database: docker-compose run web rake db:migrate

View

FLCI Testing

  • if you would like to change something in the app to cause a flci build you can update the apps version (config/environment.rb > APP_VERSION).

Tests

  • nyi

Developer

  • any changes to the Gemfile or the Dockerfile necessitate a docker-compose build
  • get a rails console: docker-compose run web rails console

About

Example rails todo app with database (postgres) and cache (redis)


Languages

Language:Ruby 63.0%Language:HTML 25.8%Language:CSS 8.3%Language:JavaScript 2.2%Language:CoffeeScript 0.7%