Skip to content

jbranchaud/scofflaw

Repository files navigation

scofflaw

a tool for recording and finding cocktail recipes

Using Rails, React.js, Redux, and PostgreSQL

Development

Quick Setup

  • Clone the repository
  • bundle install
  • npm install -g webpack webpack-dev-server
  • npm install
  • rake db:create
  • rake db:migrate
  • webpack --config webpack/webpack.config.js

Assets

The JavaScript is bundled into the asset pipeline using Webpack. During development, you will likely want Webpack to continually bundle assets as they change. This can be done with webpack-dev-server:

$ cd webpack
$ webpack-dev-server

Alternatively, we can use the --watch flag with webpack:

$ cd webpack
$ webpack --watch

Testing

Run the integration and other Rails tests with:

$ rake

Run the JavaScript tests (via Mocha) with:

$ npm run test

License

© 2016 Josh Branchaud

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published