Skip to content

devacademyla/spaces

Repository files navigation

Spaces

Build Status Maintainability Test Coverage

Getting started

Requirements

  • Ruby 2.4.0
  • Rails 5.1.4
  • Bundler 1.16.1
  • Postgres 9.6.1

Clone repo

git clone git@github.com:devacademyla/spaces.git
cd spaces
bundle install
rake db:create db:migrate db:seed
rails s

Running tests and code analyzer

Before you push some commit you have to make sure RSpec and Rubocop both pass.

bundle exec rubocop
bundle exec rspec

Also you can use guard to watch files.

bundle exec guard

Environment variables

You should create a .env file in the root. Variables we are using as far are:

  • MAIL_HOST
  • SENDMAIL_USERNAME
  • SENDMAIL_PASSWORD
  • DOMAIN