Install the SpreeFancy theme
Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.
SpreeFancy is a theme that can be applied to an existing Spree application. It’s intended as a starting point to show how a barebones Spree application can be easily modified to give a nice look and feel. As a special bonus it uses a responsive design so looks good on mobile devices as well as on larger screens.
To apply ths theme to a Bitnami Spree (>= 2.x) installation, follow these steps:
-
Add the following text to the installdir/apps/spree/htdocs/Gemfile:
$ gem 'spree_fancy', :github => 'spree/spree_fancy', :branch => '2-0-stable'
-
Install dependencies:
$ bundle install --without development test postgres sqlite --binstubs
-
Enable the theme:
$ yes | bundle exec rails g spree_fancy:install
-
Precompile assets and restart the Apache server:
$ bin/rake assets:precompile RAILS_RELATIVE_URL_ROOT='/spree' $ installdir/ctlscript.sh restart apache
The SpreeFancy theme should now be installed.