Thanks Kenneth for your reply. You understood the issue correctly. Yes, I 
am running Postgre locally. So if i understand correctly, here are my 
options
1- extend fabfile + add some keys to the settings.FABRIC
2- manually do a local backup and then run a restore on target deployment

Option 2 looks easier to me at this moment. last night i tried running 
pg_restore on aws and was getting some "peer authentication" error which 
seems like some .conf/user accounts issue. 

However in future i would like to just run '*fab deploy*'. I am new to all 
these technologies and would appreciate if you could elaborate little more 
on *option 1* .

thanks
vikram

On Thursday, December 11, 2014 12:09:21 AM UTC+5:30, Kenneth Bolton wrote:
>
> Hi Vikram,
>
> To restate your problem, you built a local cartridge instance and ran 
> django's runserver against a local database. After deploying to AWS using 
> `fab all` and an appropriately configured settings.FABRIC dictionary, you 
> see none of the pages you added in your local instance.
>
> The fabfile that ships with Mezzanine does not move databases between 
> deployment targets. If you are using PostgreSQL locally, the fabfile can be 
> extended to do the dump for you. You will need to add some additional keys 
> to settings.FABRIC for the local database that is to be backed up.
>
> hth,
> ken
>
> https://groups.google.com/forum/#!topic/mezzanine-users/X_Xs-Ei0OVw
>
>
>
> On Wed, Dec 10, 2014 at 11:52 AM, vikraw <[email protected] <javascript:>> 
> wrote:
>
>> Hi 
>>
>> I have been working on Mezzanine-Cartridge development for a few weeks on 
>> my local development machine. 
>>
>> Now I deployed to a Ubuntu AMI on Amazon webservices using the default - 
>> Fabric.py script and 'fab all' command.
>>
>> However the following links are missing on the deployed site. 
>> - About
>> - Blog
>> - Category
>> - Contact
>> - Shop Products
>>
>> *Also I cannot see any additional products or added pages on deployed 
>> website. 
>>
>> Attached is a pic of my the default DEPLOYED  site
>>
>>
>> <https://lh6.googleusercontent.com/-Un7OEojIQDs/VIh6GblMhdI/AAAAAAAACQg/hwWbPwLrtcE/s1600/Capture1.PNG>
>>
>>
>> Attached is a pic of my the default DEVELOPMENT LOCAL site
>>
>>
>> <https://lh6.googleusercontent.com/-Lviy9LJVjms/VIh3zfB8ddI/AAAAAAAACQU/0hTybKIyNnE/s1600/Capture.PNG>
>>
>>
>>
>>
>> HOWEVER, I can see the above mentioned links in the development 
>> environment which is also on Ubuntu.
>>
>>
>> Development environment is as follows - pip freeze o/p - using virtualenv
>> Cartridge==0.9.5
>> Django==1.6.8
>> Fabric==1.10.0
>> Mezzanine==3.1.10
>> Pillow==2.6.1
>> South==1.0.1
>> argparse==1.2.1
>> beautifulsoup4==4.1.3
>> bleach==1.4
>> boto==2.34.0
>> django-appconf==0.6
>> django-compressor==1.4
>> django-ses==0.7.0
>> ecdsa==0.11
>> filebrowser-safe==0.3.6
>> future==0.9.0
>> grappelli-safe==0.3.13
>> html5lib==0.999
>> mezzanine-bsbanners==0.1.4
>> oauthlib==0.7.2
>> paramiko==1.15.1
>> psycopg2==2.5.4
>> pycrypto==2.6.1
>> pytz==2014.10
>> reportlab==3.1.8
>> requests==2.4.3
>> requests-oauthlib==0.4.2
>> six==1.8.0
>> tzlocal==1.0
>> wsgiref==0.1.2
>> xhtml2pdf==0.0.6
>>
>>
>> I was expecting that one's development is finalized and uploaded to the 
>> repository, FABRIC will automatically create a similar snapshot in 
>> production server. 
>>
>> What should I do to get all my products and additional pages to come up 
>> on deployed site?? I read somewhere that fabric doesn't syncs the database 
>> even though it syncs the schema. So i am guessing if that is the issue?
>> My excitement of development on Mezzanine-Cartridge is fading as 
>> deployment is very tedious.
>>
>> I follow the following process
>> - virtualenv
>> - debug=true
>> - collectstatic
>> - git add *, git commit , 
>> - fab all
>>
>> I  would appreciate the help
>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to