Skip to content

Instantly share code, notes, and snippets.

@hyunskang
hyunskang / SETUP.md
Last active August 22, 2016 05:02
Setting up react on rails with redux

Seting up a Rails Application with React and Redux

SOURCE: http://ttrmw.co.uk/code/rails_and_react_with_npm_modules.html Webpack Setup Rails: http://clarkdave.net/2015/01/how-to-use-webpack-with-rails/

TODO: Try to set up rails with webpack, redux, react, and have them working

TODO: Add production setup

TODO: Create simple gem for simple generator to setup webpack with all it's common dependencies

Javascript Debugging: https://medium.com/outsystems-experts/beyond-console-debugging-tricks-f7d0d7f5df4#.v4jb9tyv2
React SEO: http://andrewhfarmer.com/react-seo/
@hyunskang
hyunskang / commands.sh
Last active July 1, 2016 00:21
useful commands for cmd (development)
To dump backup db image into local db (wipe out db before doing it):
pg_restore -O -d ecommerce-api_development path_to_db_backup
path_to_db_backup can be: ../../Downloads/c4d74abb-649a-4de9-9e5d-80101a5b0121