Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1016 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 1016 Bytes

Chatguru

Sample application presenting React / Redux / Rails / ActionCable integration.

Technology Stack

  • Rails 5.0
  • Ruby 2.3
  • React 15.1.0
  • Bootstrap 3
  • PostgreSQL 9.6

Setup

In order to setup this application, you need to have PostgreSQL database installed. if you don't have it, then below you can find installation notes.

Run setup script as presented below

./bin/setup

Launch application

rails s npm start

PostgreSQL Setup

You can follow the instructions on PostgreSQL site or use Homebrew.

  • Follow instructions to install on Homebrew site
  • Type brew install postgresql
  • Create your DB user createuser -d -P postgres

You can also use Postgres.app and follow Configure path section

Create config/database.yml:

cp config/database.sample.yml config/database.yml

Create database:

rake db:setup