Project

General

Profile

Actions

Support #708

closed
DC DC

Install Spree eCommerce on FreeBSD

Support #708: Install Spree eCommerce on FreeBSD

Added by Daniel Curtis about 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Server
Target version:
Start date:
12/07/2015
Due date:
% Done:

70%

Estimated time:
1:30 h
Spent time:

Description

This is a guide on installing Spree on FreeBSD 9.

Prepare the Environment

  • Make sure the system is up to date:
    sudo pkg update && sudo pkg upgrade
    
  • Install a few dependencies:
    sudo pkg install ruby rubygem-rails git ImageMagick-nox11
    

Install Spree

  • Switch to the home directory:
    cd ~
    
  • Install the spree gem:
    gem install spree
    
  • Install the spree_auth_devise gem:
    gem install spree_auth_devise
    
  • Create a new rails application:
    rails new example_site
    
  • Install spree into the new rails app:
    spree install example_site
    
  • Install the spree auth gem in the new rails app:
    bundle exec tails g spree:auth:install
    

Install Piwik Support

  • Edit the Gemfile:
    vi Gemfile
    
    • And add the following to the end:
      gem 'spree_piwik'
      
  • Install the gem dependencies:
    bundle install
    
  • Initialize the spree_piwik module
    bundle exec rails g spree_piwik:install
    
  • Edit the spree_piwik initializer file:
    vi config/initializers/spree_piwik.rb
    
    • And uncomment and adjust the piwik values accordingly:
      Spree::Piwik::Config[:piwik_url] = "piwik.example.com" 
      Spree::Piwik::Config[:piwik_id] = 4 
      

Resources

DC Updated by Daniel Curtis about 10 years ago Actions #1

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

DC Updated by Daniel Curtis about 10 years ago Actions #2

  • Description updated (diff)

DC Updated by Daniel Curtis about 10 years ago Actions #3

  • Description updated (diff)
  • % Done changed from 30 to 50

DC Updated by Daniel Curtis almost 10 years ago Actions #4

  • Description updated (diff)
  • % Done changed from 50 to 70

DC Updated by Daniel Curtis over 8 years ago Actions #5

  • Status changed from In Progress to Closed
Actions

Also available in: PDF Atom