In my development environment when i ran   "$rails g spree:site"  (per
spree documentation)  is an alternative for -
$ bundle exec rake db:migrate
$ bundle exec rake db:seed

These above commands generate couple of sample data and admin functionality.

How can i run same above command/s on production server (1) to get
sample data and (2) admin functionaliy, Because when i go
passionate4.net/admin   it doesn't show anything, even I can't log in
into the spree site, located here  http://passionate4.net


How to make these above things happen in production?

-Jay



On Wed, Dec 7, 2011 at 8:36 AM,  <[email protected]> wrote:
> Rake db:seeds , provide sample data for development environment only, How can 
> we transfer the data to production via Capistrano?
>
>
> Jay
>
> On Dec 7, 2011, at 8:08 AM, Donovan Bray <[email protected]> wrote:
>
>> rake db:seeds is usually used for this purpose
>>
>> But it depends on your application configuring an appropriate seeds.rb
>>
>> On Dec 7, 2011, at 2:33 AM, jay parteek <[email protected]> wrote:
>>
>>> I got you. So rake db:migrate will just try to export the structure of
>>> the database placed inside the schema.rb.  What if we want to copy the
>>> local state (may be some dummy data ) to the remote server?
>>>
>>>
>>>
>>> On Wed, Dec 7, 2011 at 2:21 AM, Lee Hambley <[email protected]> wrote:
>>>> Jay, What exactly do you expect rake db:migrate does? It simply runs your
>>>> migrations, it does not copy local state, and images to the remote server,
>>>> that wouldn't make any sense.
>>>>
>>>> --
>>>> * You received this message because you are subscribed to the Google Groups
>>>> "Capistrano" group.
>>>> * To post to this group, send email to [email protected]
>>>> * To unsubscribe from this group, send email to
>>>> [email protected] For more options, visit this group
>>>> at http://groups.google.com/group/capistrano?hl=en
>>>
>>> --
>>> * You received this message because you are subscribed to the Google Groups 
>>> "Capistrano" group.
>>> * To post to this group, send email to [email protected]
>>> * To unsubscribe from this group, send email to 
>>> [email protected] For more options, visit this group 
>>> at http://groups.google.com/group/capistrano?hl=en
>>
>> --
>> * You received this message because you are subscribed to the Google Groups 
>> "Capistrano" group.
>> * To post to this group, send email to [email protected]
>> * To unsubscribe from this group, send email to 
>> [email protected] For more options, visit this group 
>> at http://groups.google.com/group/capistrano?hl=en
>
> --
> * You received this message because you are subscribed to the Google Groups 
> "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to 
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/capistrano?hl=en

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to