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
- Docker
- Homebrew if you're on OSX
- PostgreSQL client -
brew install postgresql
orapt-get install postgresql-client
- RVM -
rvm use
- NVM -
nvm use
- Yarn -
npm install -g yarn
- Bundler -
gem install bundler
bin/setup
To start the project just type:
bin/start
Before firing up the rails server you need to start webpack-dev-server
bin/webpack-dev-server
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
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.
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.