The 2018 World Cup is coming and with it comes the opportunity for a quick bet with friends & family.
This project uses asdf as version manager, Yarn as JavaScript package manager, and Bundler for Rubygems.
Dependencies are listed in the .tool-versions file.
-
Clone this repository
$ git clone ssh://git@github.com/jonhue/tip-the-world-cup.git
-
Install dependencies
$ asdf install $ yarn install $ bundle install
-
Credentials setup
Customize credentials.yml.sample
EDITOR=vim be rails credentials:edit
Copy .env.sample to
.env
and customize -
Database setup
$ rails db:setup
-
Start development server
$ bundle exec foreman start -f Procfile.dev
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
The master
branch of this repository is automatically deployed on Heroku.