btihen / coupled_vs_modular

designed by: https://github.com/Enceradeira/messy_app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Messy App

This is a ruby kata exploring coupling & cohesion in a typical messy app.

Getting Started

  • If you don't use asdf, ensure you have the right ruby installed (see .tool-versions).
  • If you don't use direnv, ensure you have all the environment variables set (see .envrc).
  1. Run bundle install
  2. Run rake db:create db:migrate
  3. Run rspec

Usage without variables is:

  1. Run export SCHEMA=db/schema.rb
  2. Run bundle install
  3. Run rake db:create db:migrate
  4. Run rspec

When in doubt do (or if you mess up the environment) use:

SCHEMA=db/schema.rb rake db:environment:set RAILS_ENV=development
SCHEMA=db/schema.rb rake db:drop db:create db:migrate

About

designed by: https://github.com/Enceradeira/messy_app

License:MIT License


Languages

Language:Ruby 57.0%Language:HTML 42.9%Language:Shell 0.0%