Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 623 Bytes

CONTRIBUTE.md

File metadata and controls

40 lines (28 loc) · 623 Bytes

Contribute Guide

Requirements

Install in development

Mac OS X, use Homebrew

$ brew install redis postgresql imagemagick gs

Ubuntu

$ sudo apt-get install postgresql postgresql-contrib redis-server imagemagick ghostscript libpq-dev
$ git clone https://github.com/ruby-china/homeland.git
$ cd homeland
$ docker-compose up

# Session 1:
$ rails db:create
$ rails db:migrate
$ yarn start

# Session 2:
$ rails s

Testing

bundle exec rake