[mezzanine-users] Missing pages after Mezzanine-Cartridg Deployme using Fabric - About/Blog/Category/Contact/Products

2014-12-10 Thread vikraw
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 -

Re: [mezzanine-users] Missing pages after Mezzanine-Cartridg Deployme using Fabric - About/Blog/Category/Contact/Products

2014-12-10 Thread vikraw
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

Re: [mezzanine-users] Missing pages after Mezzanine-Cartridg Deployme using Fabric - About/Blog/Category/Contact/Products

2014-12-16 Thread vikraw
ile.py#L290-L303 > > Are you using RDS? Are you using a VPC? If you don't know, you most likely > aren't, so don't sweat it. > > Keep learning and growing! > > best, > ken > > On Thu, Dec 11, 2014 at 12:24 AM, vikraw > > wrote: > >> Thanks

Re: [mezzanine-users] Missing pages after Mezzanine-Cartridg Deployme using Fabric - About/Blog/Category/Contact/Products

2014-12-18 Thread vikraw
c added to the "cartridge" shop section ever appear on aws. But for now everything is working as expected for me. Thank you ken for the help, till i run into something else On Tuesday, December 16, 2014 8:21:47 PM UTC+5:30, Kenneth Bolton wrote: > > > > On Tue, Dec 16, 2014 at

[mezzanine-users] Image Cropping issues

2015-03-21 Thread vikraw
Hello Group I am uploading product images are usually 1200x1200 pixels. However, the category thumbail images are getting cropped from left/right sides. 1-What size images should I upload to avoid cropping on category pages? 2-Any tips/guidelines that i can pass to the photographer/editor to av

[mezzanine-users] Reverse Tax Calcuation

2015-03-23 Thread vikraw
I am trying to figure out a way to do reverse Tax calculation for Invoice Purposes, Here is the scenario, On product pages, the user only sees the Retail Price (Selling Price + Tax) i.e. the out of pocket price. But when the invoice is generated it should include have the breakdown for IND

[mezzanine-users] Support for Different or Multiple Email Sending Addresses

2015-05-15 Thread vikraw
How can I get Mezzanine/Cartridge to send emails from different email addresses for various purposes? - When the user submits the contact-form email should go from "cont...@abc.com" - When the user makes a purchase, order receipt should go from "ord...@abc.com" In "Settings->S

Re: [mezzanine-users] Support for Different or Multiple Email Sending Addresses

2015-05-15 Thread vikraw
Josh, Thanks a lot. I will look into it and update if i can get it to work. So what you are suggesting is like creating an alias. On Friday, May 15, 2015 at 9:20:33 PM UTC+5:30, Josh Cartmell wrote: > > Hi vikraw, I don't think there is an easy way to specify multiple email >

Re: [mezzanine-users] Support for Different or Multiple Email Sending Addresses

2015-05-16 Thread vikraw
he settings area of a gmail account (or google email account > for your own domain) you can set up the ability to send mail as a different > address, i.e. the ord...@abc.com account can be allowed to > send mail as con...@abc.com . I'm not sure if that's called > an alias, d

Re: [mezzanine-users] Support for Different or Multiple Email Sending Addresses

2015-05-23 Thread vikraw
, Josh Cartmell > wrote: > >> Hi vikraw, I'm wondering if this is something that was fixed in Cartridge >> at some point. Take a look at the current invoice_resend_email, >> https://github.com/stephenmcd/cartridge/blob/master/cartridge/shop/views.py#L415 >> >>

[mezzanine-users] Price Rounding Off Issues

2015-05-23 Thread vikraw
Hi Almost near launching a site. But running into Price rounding issues today when I fab deployed to AWS ec2 instance. Never had those issues before on ec2. My Development environment is working great with no issues. However on deployed machine -Prices are getting rounded off in various places

Re: [mezzanine-users] Price Rounding Off Issues

2015-05-24 Thread vikraw
plate tag on your deployed > machine? That might entail adding some logging to it, making a copy of it > in your own project, printing out values while manually running it in a > terminal, whatever works for you. > > > > > > On Sat, May 23, 2015 at 3:26 AM, vikraw > &

Re: [mezzanine-users] Price Rounding Off Issues

2015-05-25 Thread vikraw
ython 2.6... > > But yeah, weird problem. > > On 25/05/2015 3:45 AM, vikraw wrote: > > The staged server have the locale correctly set ( see at end of my message > the settings). > Steps on my Staged server - Amazon Ec2 - Ubuntu 14 > - stopped supervisor and nginx on my

Re: [mezzanine-users] Price Rounding Off Issues

2015-05-25 Thread vikraw
Tuesday, May 26, 2015 at 1:25:38 AM UTC+5:30, Stephen McDonald wrote: > > Well you've resolved it for yourself but surely someone else will hit > this. > > So which payment processor was it? > > On Mon, May 25, 2015 at 9:45 AM, vikraw > > wrote: > >> Looks l

[mezzanine-users] Re: [Django] ERROR: Invalid HTTP_HOST header: 'domain.com'.You may need to add u'domain.com' to..

2015-05-30 Thread vikraw
My settings look like this ALLOWED_HOSTS = [ *'.mydomain.com', # Allow domain and subdomains'.mydomain.com.', # Also allow FQDN and subdomains u'mp-ip-add-ress',* ] I am getting the errors for my server's IP address Invalid HTTP_HOST header: 'x.x.x.x'. You may need to add u'

[mezzanine-users] [Django] ERROR: Invalid HTTP_HOST header: 'domain.com'.You may need to add u'domain.com'

2015-05-30 Thread vikraw
I know there exists a similar post/thread before and I have posted there also, but I didn't see any solutions to stop getting those messages. I am getting around 20-30 such emails in a day My settings look like this ALLOWED_HOSTS = [ '.mydomain.com', # Allow domain and subdomains '.mydo

[mezzanine-users] postgres content/data syncing between development & production

2015-06-09 Thread vikraw
How can I sync the actual data in the database between development and production for postgres? new pages, products, description, Prices, Sales etc will be first checked in development. This has to be deployed to the production without overwriting/updating production relevant content ex: Past o

Re: [mezzanine-users] postgres content/data syncing between development & production

2015-06-09 Thread vikraw
So, what i understand is that both backup and restore tasks are run on the Depoyment/remote machine. when i do - fab deploy backup is taken (last.db) before any other tasks. restore is never called for task deploy South "schema" migrations are added to the di

[mezzanine-users] Changing default admin url doesn't work on fab deploy

2015-06-09 Thread vikraw
I changed the admin url in urls.py. The changed url works fine in development when i run - python manage.py runserver However, when it is deployed the url is still the default i.e. site.com/admin the urls.py in project dir. on deployed machine has the new "^link/" in place but that doesn't work

Re: [mezzanine-users] Changing default admin url doesn't work on fab deploy

2015-06-10 Thread vikraw
I am using latest version of mezzanine. I have tried restarting nginx, gunicorn, supervisord strange thing is that the new admin link works for Staging deployed on a remote server with a public IP but no domain name But it doesn't work for Production on remote server with a domain name. I checked

[mezzanine-users] pip freeze insecure platform warning urllibe3

2015-06-10 Thread vikraw
Not sure if it is the right forum. But since I am running cartridge, i am concerned about the security of the website. I am getting the following error when running "pip freeze" in my virtualenvironment cartirdge project it is an amazon-ec2 with ubuntu 14.04.2 LTS *The directory '/home/ubuntu

Re: [mezzanine-users] Re: pip freeze insecure platform warning urllibe3

2015-06-11 Thread vikraw
gt; > $ sudo chown -R ubuntu:users */home/ubuntu/.cache/pip/http* > > >> On Thursday, 11 June 2015 04:48:00 UTC+10, vikraw wrote: >>> >>> >>> *The directory '/home/ubuntu/.cache/pip/http' or its parent directory is >>> not owned by the

[mezzanine-users] https or SSL redirect for whole site in Cartridge

2015-07-01 Thread vikraw
I was trying to configure SSL redirect for whole site using nginx.conf but was running into errors "redirecting in ways that request will never be completed". After reading the mezzanine docs and django SECURE_PROXY_SSL_HEADER, I came with following way to enable SSL for whole site - the site p

Re: [mezzanine-users] https or SSL redirect for whole site in Cartridge

2015-07-02 Thread vikraw
_PREFIXES = ('/',) > > Good luck! > > On Wed, Jul 1, 2015 at 2:11 PM, vikraw > > wrote: > >> I was trying to configure SSL redirect for whole site using nginx.conf >> but was running into errors "redirecting in ways that request will never be >>

[mezzanine-users] Mezzanine 4.0.0 and Cartridge 0.9.5

2015-07-13 Thread vikraw
First of all congratulations and my thanks for the Mezzanine team for launching Mezzanine 4.0.0. I have been using the mezzanine(3.1.10)/cartridge app for a while for a small website and appreciate how well it has been working. Today, i tried to create another cartridge project as per cartridg

[mezzanine-users] Re: Support for multiple currencies?

2015-07-21 Thread vikraw
I struggled with it for a while but finally have it working with some tweaks (replacing cartridge currency filter with custom) using the "django-currencies" app. cartridge has 'currency' filter defined in 'shop/templatetags/shop_tags.py' - this filter takes a single argument i.e. the value/

Re: [mezzanine-users] Re: Support for multiple currencies?

2015-07-22 Thread vikraw
I can document and share (hack) with what i did with django-currencies. I am interested in contributing but not confident that i can deliver excellent code as in mezzanine/cartridge; Though I can do some plumbing here and there. I am still exploring Mezzanine, and Cartridge (started django 1 y

[mezzanine-users] Re: New releases: Mezzanine, Cartridge, Drum

2015-07-27 Thread vikraw
Thank You. Great work. On Sunday, July 26, 2015 at 9:46:24 AM UTC+5:30, Stephen McDonald wrote: > > Hi all, > > I've just released Mezzanine 4.0.1 which contains a small handful of > bugfixes and improvements since the recent 4.0 release - most notably > restoration of the "--alternate" option i

[mezzanine-users] accessing local dev server on Vbox guest over the LAN

2015-09-10 Thread vikraw
I am trying to access my local development server over the LAN. My environment as follows - Host machine - Windows 10 Guest machine - VBOX Running Ubuntu 12.01 Networking - Bridged Mode Ubuntu is configured to Static IP - 192.168.2.10 Host IP - 192.168.2.9 I can access the apache server runnin

[mezzanine-users] Howto Re-Serve Images After Remove EXIF(metadata) info. from Images

2016-08-24 Thread vikraw
Hello I have a site running with Mezzanine (4.0.1) + Cartridge with all the product images uploaded. However, I wanted to remove the MetaData info. from the images. Therefore, I used the "exiftool" to remove metadata info. from all of the images sitting in "projectname/static/media/uploads/