This is a starting point for all Spree/Rails related projects at Spark Solutions, it contains:
- Ruby on Rails 4.2
- Spree Commerce 3.1
- Webpack for asset bundling (JS/CSS/Sass/images) with hot reload
- Babel 6 for EcmaScript 2015 / ES6 support
- ReactJS with Hot Reload, Redux, React-router and server side rendering via therubyracer and react-rails gem
- SPA frontend + classic rails views (simple layout switcher)
- haml as a template engine for rails views
Heavily inspired by react-webpack-rails-tutorial
bin/setup
To start the project just type:
foreman start -f Procfile.dev
This repository is prepared for Heroku deployment with assets hosting on Amazon S3 for production and Amazon Cloudfront as a CDN.
Before the first deploy, in the project directory run:
heroku buildpacks:add heroku/nodejs
heroku buildpacks:add heroku/ruby
Spark Starter Kit is copyright © 2015-2016 Spark Solutions Sp. z o.o.. It is free software, and may be redistributed under the terms specified in the LICENSE file.
Spark Starter Kit is maintained and funded by Spark Solutions Sp. z o.o. The names and logos are trademarks of Spark Solutions Sp. z o.o.
We are passionate about open source software. We are available for hire.