https://github.com/madeindjs/test_spree
A poor aptempt to install & customize Spree
https://github.com/madeindjs/test_spree
Last synced: over 1 year ago
JSON representation
A poor aptempt to install & customize Spree
- Host: GitHub
- URL: https://github.com/madeindjs/test_spree
- Owner: madeindjs
- Archived: true
- Created: 2019-05-03T11:41:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-03T11:46:34.000Z (about 7 years ago)
- Last Synced: 2025-02-05T21:41:42.320Z (over 1 year ago)
- Language: Ruby
- Size: 131 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test Spree
A poor aptempt to install & customize Spree
## What did you done?
Create new Rails application
~~~bash
$ rails new test_spree
$ cd test_spree
~~~
Install Spree gems
~~~bash
$ bundle add spree
$ bundle add spree_auth_devise
$ bundle add spree_gateway
$ rails g spree:install
~~~
Setup Devise's intializer
~~~bash
$ echo 'Devise.secret_key = "342a6e8e102fc0d5f66408631cc293109be1c0e4f562b06dbf5a80b8169de4a72781807b201312fee83a1ea120c1023e10fe"' > config/initializers/devise.rb
~~~
Install multi vendor extension
~~~bash
$ echo "gem 'spree_multi_vendor', github: 'spree-contrib/spree_multi_vendor'" >> Gemfile
$ bundle install
$ rake spree_multi_vendor:sample:create # add sample data
~~~
That's it!
## How run it?
~~~bash
$ git clone https://github.com/madeindjs/test_spree
$ cd test_spree
$ bundle Install
$ rake db:migrate
$ rails server
~~~