-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Training: Project Setup
Nelson Lee edited this page Nov 29, 2017
·
4 revisions
Follow the instructions and set up a new project with the rails-starter-template.
🔖 : Overcommit
Overcommit help you check your code against linters when you try to commit to ensuring that it meets all the coding standards.
(Optional) For First Timers - Skip this step if you used Rubocop or Overcommit on your machine before
If you have never used overcommit or Rubocop, please install it first. Rubocop is the ruby community standard for coding guidelines. For more info, please visit the official repositories:
$ gem install rubocop
$ gem install overcommit
# Install gems required for overcommit at .overcommit_gems
$ bundle install --gemfile=.overcommit_gems.rb
# Make overcommit executable inside your project directory
$ chmod +x bin/setup_overcommit
# Execute Overcommit
$ overcommit --install