Skip to content
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.

Latest commit

 

History

History
64 lines (48 loc) · 927 Bytes

README.md

File metadata and controls

64 lines (48 loc) · 927 Bytes

README

Ruby version

2.4.1

Infrastructure

mysql 5.7.18 redis 3.2.9 node v8.1.3 yarn 0.27.5

$ brew install mysql
$ brew install redis
$ brew install yarn

install node

$ brew install nodebrew
$ mkdir -p ~/.nodebrew/src
$ nodebrew install-binary stable
$ nodebrew use stable
$ echo "export PATH=\$HOME/.nodebrew/current/bin:\$PATH" >> ~/.bash_profile
$ source ~/.bash_profile

copy yml files

$ cp config/database.yml.sample config/database.yml
$ cp config/secrets.yml.sample config/secrets.yml
$ cp config/cable.yml.sample config/cable.yml

install gems

$ bundle install --path vendor/bundle --jobs=4

install js libs

$ yarn

Database creation & initialization

$ bundle exec rails db:create db:migrate

How to run the test suite

$ bundle exec rspec

How to run servers

bundle exec foreman start