Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 737 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 737 Bytes

Install

It's recommended to use Ruby 2.3.x and NodeJS 6.11.x.

# install bundler if not available
gem install bundler

# install gem dependencies
bundle install

# install npm dependencies
npm install

# create the postgres databases
# update config/database.yml details if needed
rake db:create

# generate assets for development
npm run webpack

# start server
rails s

Webpack scripts

npm run webpack
Builds the assets for development mode.

npm run webpack-watch
Builds the assets for development mode, and rebuilds on every detected change.

npm run webpack-production
Builds the assets for production mode, output files are hashed.

DEMO

http://stockoverflow.s3-website-ap-southeast-2.amazonaws.com/