/tip-the-world-cup

Tip the 2018 World Cup with friends & family

Primary LanguageRubyMIT LicenseMIT

Tip the World Cup

The 2018 World Cup is coming and with it comes the opportunity for a quick bet with friends & family.

https://tip-the-world-cup.com

Hi

Development

This project uses asdf as version manager, Yarn as JavaScript package manager, and Bundler for Rubygems.

Dependencies are listed in the .tool-versions file.

  1. Clone this repository

    $ git clone ssh://git@github.com/jonhue/tip-the-world-cup.git

  2. Install dependencies

    $ asdf install
    $ yarn install
    $ bundle install
    
  3. Credentials setup

    Customize credentials.yml.sample EDITOR=vim be rails credentials:edit

    Copy .env.sample to .env and customize

  4. Database setup

    $ rails db:setup

  5. Start development server

    $ bundle exec foreman start -f Procfile.dev

Testing

This project uses a number of packages for testing and linting:

$ bundle exec rspec
$ bundle exec rubocop
$ bundle exec haml-lint
$ yarn run stylelint
$ yarn run eslint

Deployment

The master branch of this repository is automatically deployed on Heroku.