Project

General

Profile

Support #708

Install Spree eCommerce on FreeBSD

Added by Daniel Curtis about 9 years ago. Updated over 7 years ago.

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

70%

Estimated time:
1.50 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

#1

Updated by Daniel Curtis about 9 years ago

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

Updated by Daniel Curtis about 9 years ago

  • Description updated (diff)
#3

Updated by Daniel Curtis about 9 years ago

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

Updated by Daniel Curtis about 9 years ago

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

Updated by Daniel Curtis over 7 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF