Skip to content

spree/spree_starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spark Starter Kit

Circle CI Maintainability

This is a starting point for all Spree/Rails related projects at Spark Solutions, it contains:

  • Ruby on Rails
  • Spree Commerce
  • Webpack via Webpacker gem
  • React with Redux

Installation

Install required tools and dependencies:

  • Docker
  • Homebrew if you're on OSX
  • PostgreSQL client - brew install postgresql or apt-get install postgresql-client
  • RVM - rvm use
  • NVM - nvm use
  • Yarn - npm install -g yarn
  • Bundler - gem install bundler

Run setup script

bin/setup

Development

To start the project just type:

bin/start

Hot Module Replacement

Before firing up the rails server you need to start webpack-dev-server

bin/webpack-dev-server

Running tests

Before running the test suite remember to fire up docker-compose (if it's not running already):

docker-compose up -d

And after that you can just use plain normal rspec:

bundle exec rspec

License

Spark Starter Kit is copyright © 2015-2019 Spark Solutions Sp. z o.o.. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About Spark Solutions

Spark Solutions

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.