issues with Spree

后端 未结 4 2082
醉酒成梦
醉酒成梦 2021-02-11 11:18

I am trying to install and run Spree on my local machine by following the steps mentioned in Getting started with Spree

However, when I start the server I get the follow

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-11 11:37

    Here is what I did to get Spree up and running:

    Create a new rails project:

    $ rails new spree_project
    

    Add these 5 gems to the projects Gemfile (/spree_project/Gemfile):

    gem 'spree', :git => 'git://github.com/spree/spree.git'
    gem 'spree_auth_devise', :git => 'git://github.com/spree/spree_auth_devise'
    gem 'spree_gateway', :git => 'git://github.com/spree/spree_gateway.git'
    gem 'spree_usa_epay'
    gem 'spree_skrill'
    

    Run a bundle install and setup the database (rake db:bootstrap did not work for me)

    $ bundle install
    $ rake db:migrate
    $ rake db:seed
    $ bundle exec rake spree_sample:load
    

提交回复
热议问题