Re: [mezzanine-users] fab all runs, but cannot access mezzanine admin page

2014-03-03 Thread Stephen McDonald
To be clear - I say "forget the ports", which sounds like it entirely contradicts the rest of my "read the docs and understand what these things do" advice. What I mean to say is forget thinking in terms of running a development server, using a custom port etc - with the vagrant setup, you're work

Re: [mezzanine-users] fab all runs, but cannot access mezzanine admin page

2014-03-03 Thread Stephen McDonald
You shouldn't need to do any of that. Here's my vagrantfile: Vagrant.configure("2") do |config| config.vm.box = "precise64" config.vm.network :private_network, ip: "10.10.10.10" end Forget the ports. Your vagrant vm is synonymous with a production server - you're deploying to it, and the vari

Re: [mezzanine-users] fab all runs, but cannot access mezzanine admin page

2014-03-03 Thread Jesse Carrigan
I tried forwarding a port from my host machine and got the same result. With localhost:8080 forwarded to 80 on the guest machine, I get the message from ngnix. Forwarding localhost:8080 to 8000, I get no response. -- You received this message because you are subscribed to the Google Groups "Me

Re: [mezzanine-users] jquery resize error

2014-03-03 Thread Stephen McDonald
Yep I found where it was originally introduced, and that was the intention. But it doesn't even work for me - I'm going to nuke it, so consider it fixed next release. On Tue, Mar 4, 2014 at 1:40 PM, Josh Cartmell wrote: > Off the top of my head I think it has something to do with > resizing/ce

[mezzanine-users] Re: fab all runs, but cannot access mezzanine admin page

2014-03-03 Thread Jesse Carrigan
Hi Ken, Thank you for your help. I didn't get any different results from deploying. Here's a link to the gist: https://gist.github.com/feanorancalime/9340725 I should point out that I'm using a local vm. I set this up using a private network which has the IP address listed as host in the gist.

Re: [mezzanine-users] Re: Installing Mezzanine on Vagrant

2014-03-03 Thread Stephen McDonald
As for the original issue, there's a clear note early on in Mezzanine's README covering the very steps necessary to avoid the problem you've hit: https://github.com/stephenmcd/mezzanine/#dependencies Ken's point was that if you spend the time up front understanding vagrant and fabric, you'll find

Re: [mezzanine-users] Re: Installing Mezzanine on Vagrant

2014-03-03 Thread Tom Brander
So.. Are you suggesting using Fabric instead of Pip for an initial development install?? (seems to be at variance with the doc) but I'm trying too understand... On Monday, March 3, 2014 9:57:56 PM UTC-6, Kenneth Bolton wrote: > > One great thing about the fabfile.py that ships with Mezzanine is

Re: [mezzanine-users] Re: Installing Mezzanine on Vagrant

2014-03-03 Thread Ken Bolton
One great thing about the fabfile.py that ships with Mezzanine is that it contains the best practices of a bunch of developers across a half-dozen technologies – with no cruft – that can immediately go into version control and grow with your application. If you opt not to use Fabric to manage your

Re: [mezzanine-users] Re: Installing Mezzanine on Vagrant

2014-03-03 Thread Tom Brander
But doesn't he have to 1st get a PIP install somewhere? On Monday, March 3, 2014 9:31:17 PM UTC-6, Stephen McDonald wrote: > > Mezzanine's fabric recipe was entirely developed using vagrant - it's > actually a perfect match. > > > On Tue, Mar 4, 2014 at 2:29 PM, Tom Brander > > wrote: > >> Ken,

Re: [mezzanine-users] Re: Installing Mezzanine on Vagrant

2014-03-03 Thread Stephen McDonald
Mezzanine's fabric recipe was entirely developed using vagrant - it's actually a perfect match. On Tue, Mar 4, 2014 at 2:29 PM, Tom Brander wrote: > Ken, he is just trying to install on a vagrant instance, presumably to > give him a Linux VM on Windows?? Fabric doe not apply (yet) > I was going

Re: [mezzanine-users] Re: Installing Mezzanine on Vagrant

2014-03-03 Thread Tom Brander
Ken, he is just trying to install on a vagrant instance, presumably to give him a Linux VM on Windows?? Fabric doe not apply (yet) I was going to recommend Anaconda on Windows (to eliminate vagrant ) but it seems from a quick check, Anaconda has some issues with Pillows as well (surprise..) I'm

Re: [mezzanine-users] Re: Installing Mezzanine on Vagrant

2014-03-03 Thread Ken Bolton
"Use Fabric for repeatable installations", I repeat. On Mon, Mar 3, 2014 at 9:47 PM, Tom Brander wrote: > Looks like you are missing the C compiler and perhaps the associated dev > tools library... > > > On Monday, March 3, 2014 2:40:17 PM UTC-6, Tabs wrote: >> >> Hi Mezzanine community, >> >>

[mezzanine-users] Re: Installing Mezzanine on Vagrant

2014-03-03 Thread Tom Brander
Looks like you are missing the C compiler and perhaps the associated dev tools library... On Monday, March 3, 2014 2:40:17 PM UTC-6, Tabs wrote: > > Hi Mezzanine community, > > I am new to the Framework and I am trying to Setup a simple site using it. > I am following the instructions posted he

Re: [mezzanine-users] jquery resize error

2014-03-03 Thread Josh Cartmell
Off the top of my head I think it has something to do with resizing/centering editable popups when the window is resized. On Mon, Mar 3, 2014 at 4:19 PM, Stephen McDonald wrote: > I don't recall the intention around this library's introduction - I'd be > more than happy to remove it if someone

Re: [mezzanine-users] jquery resize error

2014-03-03 Thread Stephen McDonald
I don't recall the intention around this library's introduction - I'd be more than happy to remove it if someone can work out why it's there and that it's safe to remove. On Tue, Mar 4, 2014 at 11:16 AM, Ross Laird wrote: > I have finally got round to testing this out, and the fix does not > ac

Re: [mezzanine-users] jquery resize error

2014-03-03 Thread Ross Laird
I have finally got round to testing this out, and the fix does not actually work for me. The popups still do their thing, but the error persists. On Wed, Feb 19, 2014 at 9:36 AM, Josh Cartmell wrote: > No problem Ross, did you give it a try and if so did it work for you as > well? > > > On Tue,

[mezzanine-users] Re: Restricting shop to active users only

2014-03-03 Thread Eduardo Rivas
Excellent! I think that's what Steve meant from the beginning. Regarding the sitemap, I was overriding Mezzanine's sitemap and returning a Product-free list, but signals seem like the right way to go here. Thanks a lot. -- You received this message because you are subscribed to the Google Grou

Re: [mezzanine-users] Re: Restricting shop to active users only

2014-03-03 Thread Josh Cartmell
Hey Ed, you can also do something like http://stackoverflow.com/a/5771286/593283, I'm not sure if that would be a workable solution for you. If you wanted to hide products across the board you could connect to the product pre save signal and uncheck the box programatically. On Mon, Mar 3, 2014 a

[mezzanine-users] SearchableManager.search returns only list?

2014-03-03 Thread Lucian Corduneanu
Hi, I've been reading the docs from http://mezzanine.jupo.org/docs/search-engine.html There is a note saying: "search method returns a Django queryset", thus I should chain a filter() or order_by(). Product.objects.search(query).filter(vendor__id=66).order_by("-publish_date"). I'm using mezza

[mezzanine-users] Re: Restricting shop to active users only

2014-03-03 Thread Eduardo Rivas
I investigated a little and apparently the login decorator is for views, not url patterns. I ended up using this little middlewarethat lets me conveniently define a list of url patterns for which login is required. Related question: is it possible to hi

[mezzanine-users] Re: step by step mezzanine deployment

2014-03-03 Thread Ross Laird
Postgresql authentication can be tricky. You may need to make changes to your pg_hba.conf file. Like so: # Database administrative login by Unix domain socket local all postgrespeer # TYPE DATABASEUSERADDRESS METHOD

[mezzanine-users] Installing Mezzanine on Vagrant

2014-03-03 Thread Tabs
Hi Mezzanine community, I am new to the Framework and I am trying to Setup a simple site using it. I am following the instructions posted here () and Setting up everything using Vagrant as virtualization Environment. Everything was going fine until I tried to install Mezzanine. When running

Re: [mezzanine-users] can anyone suggest me some host which is Australia based and also mezzanine&django friendly?

2014-03-03 Thread Danny
On 3/03/2014 10:13 PM, lu zou wrote: As above ,can anyone suggest me some host which is Australia based and also mezzanine&django friendly? :) Not sure about Django friendliness, or even how good these hosting providers are, but these are places I found in Australia which had reasonably pric

Re: [mezzanine-users] step by step mezzanine deployment

2014-03-03 Thread Federico Bruni
Ah! Here's what I was missing! Now I'm trying to manually sync the databases: pg_dump -C -h localhost -U localuser dbname | psql -h remotehost -U remoteuser dbname But I have problem with the port 5432. I already tried to add ip_private to listen_addresses in postgresql.conf, as suggested here: h

Re: [mezzanine-users] step by step mezzanine deployment

2014-03-03 Thread Ken Bolton
Fabric does not sync the content of the databases. Fabric does sync the database schemas! On Mon, Mar 3, 2014 at 8:03 AM, Federico Bruni wrote: > 2014-03-03 13:01 GMT+01:00 Federico Bruni : > > Now I should find out why my real project is failing. Maybe I could start >> it from scratch step by

Re: [mezzanine-users] first steps with fabric deployment

2014-03-03 Thread Federico Bruni
no error found 2014-03-03 13:22 GMT+01:00 : > Did you try to run "python manage.py runserver" directly in your virtual > env directory? And is there an error? I the port is in use you can try to > stop the server by running supervisorctl stop all. > > ++ > > On Friday, February 28, 2014 1:08:44

Re: [mezzanine-users] step by step mezzanine deployment

2014-03-03 Thread Federico Bruni
2014-03-03 13:01 GMT+01:00 Federico Bruni : > Now I should find out why my real project is failing. Maybe I could start > it from scratch step by step and see what happens. > I've just one more test: added a page in my local project and then launched 'fab deploy' to send the changes to the server

Re: [mezzanine-users] first steps with fabric deployment

2014-03-03 Thread ourycl
Did you try to run "python manage.py runserver" directly in your virtual env directory? And is there an error? I the port is in use you can try to stop the server by running supervisorctl stop all. ++ On Friday, February 28, 2014 1:08:44 AM UTC+1, Federico Bruni wrote: > > 2014-02-26 13:18 GMT

[mezzanine-users] step by step mezzanine deployment

2014-03-03 Thread Federico Bruni
I'm opening a new thread and try to make the deploy of a simple test. Let's see if I understand the basics... First of all, the DATABASES options are divided in 3 files: - local_settings.py: the setting for local development. By default, sqlite is used. I wonder what's the best approach if I kn

[mezzanine-users] can anyone suggest me some host which is Australia based and also mezzanine&django friendly?

2014-03-03 Thread lu zou
As above ,can anyone suggest me some host which is Australia based and also mezzanine&django friendly? :) -- 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 mez