JordanHatch / paddock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paddock

A prototype app for sprint reporting.

Quick start

Setting up the development environment

If you use asdf to manage your NodeJS and Ruby versions:

asdf plugin add nodejs
asdf plugin add ruby
asdf install

Then install Bundler and Yarn:

gem install bundler
npm install --global yarn

You may need to configure your PostgreSQL bindings to install the pg gem:

# Mac
brew install libpq
bundle config build.pg --with-pg-config=/usr/local/opt/libpq/bin/pg_config

Then run Bundler and Yarn to install the application dependencies:

bundle install
yarn install

Set up the empty database:

bin/rake db:setup

To collect email locally, install and run Mailcatcher:

gem install mailcatcher
mailcatcher

If you encounter issues installing thin, there's a workaround in the Mailcatcher README.

Once complete, start the app in development:

bin/dev

In development, you can preview each view component using Lookbook. Visit http://localhost:5000/lookbook.

Running the tests

You'll need Chrome (or Chromium) installed to run the feature specs which require JavaScript.

Rails should precompile assets automatically before running tests. If this doesn't happen, you can build assets manually by running yarn build (for JavaScript) and yarn build:css (for CSS).

To run the full test suite:

bin/rake

About


Languages

Language:SCSS 51.7%Language:Ruby 37.2%Language:Haml 9.4%Language:JavaScript 0.7%Language:HTML 0.7%Language:Dockerfile 0.1%Language:Shell 0.1%Language:Procfile 0.0%