I got stuck on the console thing. It did not worked in the extension root -
but in the store root. Therefor I was confused about which director to be
in.
Many thanks for the keywords tips :=) Now I can move on.
Regards,
Magnus
On Wednesday, May 29, 2013 3:20:43 PM UTC+2, [email protected]
wrote:
I might have been confused about which part you were stuck on- for the
console part I think that you need to be in the "mystore" directory, sorry.
The updates happen in the extension.
console part I think that you need to be in the "mystore" directory, sorry.
The updates happen in the extension.
On Wednesday, May 29, 2013 8:35:17 AM UTC-4, magnus_vb wrote:
Hi
I'm following the tutorial (at spreecommerce) on how to do a extension
and deface. But I'm not sure I'm doing it the right way.
- I have generated the extension with the file structure.
- I have added the extension to my Spree application (v2.0)
But at the next moment, I'm not sure what to do. The tutorial says this:
*"Now we need to extend Spree::HomeController and add an action that
selects “on sale” products.*
*Make sure you are in the spree_simple_sales root directory and run the
following command to create the directory structure for our controller
decorator:"*
Does that mean that I should go back the extensions root folder (not the
Spree installation)? I tried that and followed the tutorial. But when I try
the command "rails console" I get an error:
Error: Command not recognized
Usage: rails COMMAND [ARGS]
That is where I'm stuck :(
Have I done it right so far? Any help are welcome.
Regards,
Magnus
Hi
I'm following the tutorial (at spreecommerce) on how to do a extension
and deface. But I'm not sure I'm doing it the right way.
- I have generated the extension with the file structure.
- I have added the extension to my Spree application (v2.0)
But at the next moment, I'm not sure what to do. The tutorial says this:
*"Now we need to extend Spree::HomeController and add an action that
selects “on sale” products.*
*Make sure you are in the spree_simple_sales root directory and run the
following command to create the directory structure for our controller
decorator:"*
Does that mean that I should go back the extensions root folder (not the
Spree installation)? I tried that and followed the tutorial. But when I try
the command "rails console" I get an error:
Error: Command not recognized
Usage: rails COMMAND [ARGS]
That is where I'm stuck :(
Have I done it right so far? Any help are welcome.
Regards,
Magnus