¶ ↑
READMEThis README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version 4.0.4
-
Spree version 2.2.0
-
Imagemagick Installtion
-
Rails app creation
-
Install gem spree_cmd
-
install spree into rails application
-
Resolve Runtimejava script error in window
-
Create admin user in spree application
-
Deployment instructions on heroku
-
…
-
Check your ruby version
\sites>rails --version
-
add gem spree in gemfile
gem 'spree', '2.2.0'
-
Install imagagemagick and rmagick for all images format conversion
for osx $ brew install imagemagick for window follow these steps http://rails.webintellix.com/2010/01/04/how-to-install-rmagick-imagemagick-on-windows/
-
>gem install spree_cmd
-
mystore>spree install –auto-accept
-
Now when you run this app and if you are using Window system this gave Execjs runtime error
made some changes in runtime.rb file JScript = ExternalRuntime.new( :name => "JScript", :command => "cscript //E:jscript //Nologo", :runner_path => ExecJS.root + "/support/jscript_runner.js", // remove /U :encoding => 'UTF-8' # CScript with //U returns UTF-16LE // change UTF-16 to UTF-8 )
-
Now this time app run smothily now time to add new addmin user
mystore>rake spree_auth:admin:create