Re: Django app and Amazon AWS (beginner)

2011-03-18 Thread Nate Aune
What do you mean by custom settings? 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django app and Amazon AWS (beginner)

2011-03-16 Thread Venkatraman S
On Thu, Mar 17, 2011 at 12:21 AM, Nate Aune  wrote:

>
> If you want to get your Django app deployed up on Amazon's infrastructure
> and don't want to mess around with config files and servers, I invite you to
> try out our DjangoZoom service which is built on top of Amazon's AWS
> infrastructure. http://djangozoom.com  We take care of all the server-side
> stuff, so you don't have to.
>

I have signed up - would be interesting to see how you take care of custom
settings.

-V
http://blizzardzblogs.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django app and Amazon AWS (beginner)

2011-03-16 Thread Nate Aune
Hi Nai,

It takes some tinkering to get a production deployment of a Django app 
working well. One of the founders of Django, Jacob Kaplan Moss, presented a 
Django deployment workshop at last year's PyCon.  Video: 
http://pycon.blip.tv/file/3632436/  
Code: https://github.com/jacobian/django-deployment-workshop  

If you want to get your Django app deployed up on Amazon's infrastructure 
and don't want to mess around with config files and servers, I invite you to 
try out our DjangoZoom service which is built on top of Amazon's AWS 
infrastructure. http://djangozoom.com  We take care of all the server-side 
stuff, so you don't have to. 

You just point us at your code repo and in less than a minute, we return a 
public URL of your live running app. The service is in a private beta right 
now, but if you sign up for the beta, we'll try to get an invite to you 
soon.  We welcome any feedback on how to make it the best hosting service 
for Django developers!

thanks,
Nate

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django app and Amazon AWS (beginner)

2011-03-11 Thread Graham Dumpleton
One can if you want to get a development system closer to production use 
Apache/mod_wsgi in such a way that automatic code reloading on any change 
works, just like Django development server. See:

  http://blog.dscpl.com.au/2008/12/using-modwsgi-when-developing-django.html
  http://blog.dscpl.com.au/2009/02/source-code-reloading-with-modwsgi-on.html

Using that approach means you can properly test multithread and multiprocess 
configurations.

Also, if you have only been looking at mod_wsgi integration notes on the 
Django site, ensure that you also read what is on the official mod_wsgi 
site. Also ensure you try and get a hello world WSGI program going before 
you try to do Django itself. That can avoid a lot of problems and 
misunderstands when it comes to setting up Django. See:

  http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
  http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide

Graham

On Wednesday, March 9, 2011 10:48:25 PM UTC-5, CLIFFORD ILKAY wrote:
>
> On 03/09/2011 10:37 PM, nai wrote:
> > According to djangoproject, deploying Django with apache and mod_wsgi
> > is the way to go. I keep seeing these terms over and over again but
> > I've had it explained to me over and over but I still don't get it. I
> > know this is getting a bit off topic but it would be great if someone
> > could take another stab and explain how apache and mod_wsgi fits in
> > with the deployment.
>
> The built-in dev server isn't intended to be run in production. It can 
> only handle one connection at a time and has never been security 
> audited. It's purely for the convenience of the developer and not 
> intended for production deployment.
>
> Apache is a web server. Simplistically, mod_wsgi is the means by which 
> Apache can pass requests to and from the Python interpreter. I prefer 
> nginx and fcgi as alternatives to Apache and mod_wsgi. Feel free to 
> contact me if you would rather have someone else get this setup for you 
> so that you can concentrate on your development.
> -- 
> Regards,
>
> Clifford Ilkay
> Dinamis
> 1419-3266 Yonge St.
> Toronto, ON
> Canada  M4N 3P6
>
> 
> +1 416-410-3326
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django app and Amazon AWS (beginner)

2011-03-09 Thread CLIFFORD ILKAY

On 03/09/2011 10:37 PM, nai wrote:

According to djangoproject, deploying Django with apache and mod_wsgi
is the way to go. I keep seeing these terms over and over again but
I've had it explained to me over and over but I still don't get it. I
know this is getting a bit off topic but it would be great if someone
could take another stab and explain how apache and mod_wsgi fits in
with the deployment.


The built-in dev server isn't intended to be run in production. It can 
only handle one connection at a time and has never been security 
audited. It's purely for the convenience of the developer and not 
intended for production deployment.


Apache is a web server. Simplistically, mod_wsgi is the means by which 
Apache can pass requests to and from the Python interpreter. I prefer 
nginx and fcgi as alternatives to Apache and mod_wsgi. Feel free to 
contact me if you would rather have someone else get this setup for you 
so that you can concentrate on your development.

--
Regards,

Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada  M4N 3P6


+1 416-410-3326

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django app and Amazon AWS (beginner)

2011-03-09 Thread nai
According to djangoproject, deploying Django with apache and mod_wsgi
is the way to go. I keep seeing these terms over and over again but
I've had it explained to me over and over but I still don't get it. I
know this is getting a bit off topic but it would be great if someone
could take another stab and explain how apache and mod_wsgi fits in
with the deployment.

On Mar 10, 11:27 am, nai  wrote:
> Ok, this is where I start running into the limitations of my
> knowledge. Does installing a webserver like Apache 'persist' the
> website then? Is that what I should be doing if I want to do things
> 'properly'?
>
> Also, when I run nohup, I get: nohup: ignoring input and appending
> output to `nohup.out'
>
> On Mar 10, 10:50 am, Huy Ton That  wrote:
>
>
>
>
>
>
>
> > Well, if you are just doing a development test, as it seems below foregoing
> > apache, you can do
>
> > sudo nohup python manage.py runserver 0.0.0.0:8000
>
> > It will keep on running after you close the terminal.
>
> > -H
>
> > On Wed, Mar 9, 2011 at 9:46 PM, nai  wrote:
> > > Hi guys,
>
> > > I've been lurking on the forums and groups for a while now but I've
> > > recently ran into some problems I couldn't figure out whilst learning
> > > to code.
>
> > > Basically, I have a simple working webapp on my local machine. I've
> > > signed up for the free Amazon tier and have been messing around with
> > > it since. So my question is, once I run
>
> > > python manage.py runserver ec2-122-248-194-176.ap-
> > > southeast-1.compute.amazonaws.com:8000 &
>
> > > Everytime I close my terminal the site goes down even though I added
> > > the '&' to run it as a background task.
>
> > > Is there a better way of doing this? Are there any resources/books
> > > that shows you how to deploy on Amazon? Why isn't there a heroku for
> > > Django?
>
> > > Ok, that became a 3 part question :)
>
> > > Thanks.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Django users" group.
> > > To post to this group, send email to django-users@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > django-users+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django app and Amazon AWS (beginner)

2011-03-09 Thread nai
Ok, this is where I start running into the limitations of my
knowledge. Does installing a webserver like Apache 'persist' the
website then? Is that what I should be doing if I want to do things
'properly'?

Also, when I run nohup, I get: nohup: ignoring input and appending
output to `nohup.out'

On Mar 10, 10:50 am, Huy Ton That  wrote:
> Well, if you are just doing a development test, as it seems below foregoing
> apache, you can do
>
> sudo nohup python manage.py runserver 0.0.0.0:8000
>
> It will keep on running after you close the terminal.
>
> -H
>
>
>
>
>
>
>
> On Wed, Mar 9, 2011 at 9:46 PM, nai  wrote:
> > Hi guys,
>
> > I've been lurking on the forums and groups for a while now but I've
> > recently ran into some problems I couldn't figure out whilst learning
> > to code.
>
> > Basically, I have a simple working webapp on my local machine. I've
> > signed up for the free Amazon tier and have been messing around with
> > it since. So my question is, once I run
>
> > python manage.py runserver ec2-122-248-194-176.ap-
> > southeast-1.compute.amazonaws.com:8000 &
>
> > Everytime I close my terminal the site goes down even though I added
> > the '&' to run it as a background task.
>
> > Is there a better way of doing this? Are there any resources/books
> > that shows you how to deploy on Amazon? Why isn't there a heroku for
> > Django?
>
> > Ok, that became a 3 part question :)
>
> > Thanks.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django app and Amazon AWS (beginner)

2011-03-09 Thread Brian Bouterse
I recommend running your runserver inside
screenand leaving it detached
when you are logged out.

Brian

On Wed, Mar 9, 2011 at 9:50 PM, Huy Ton That  wrote:

> Well, if you are just doing a development test, as it seems below foregoing
> apache, you can do
>
> sudo nohup python manage.py runserver 0.0.0.0:8000
>
> It will keep on running after you close the terminal.
>
> -H
>
>
> On Wed, Mar 9, 2011 at 9:46 PM, nai  wrote:
>
>> Hi guys,
>>
>> I've been lurking on the forums and groups for a while now but I've
>> recently ran into some problems I couldn't figure out whilst learning
>> to code.
>>
>> Basically, I have a simple working webapp on my local machine. I've
>> signed up for the free Amazon tier and have been messing around with
>> it since. So my question is, once I run
>>
>> python manage.py runserver ec2-122-248-194-176.ap-
>> southeast-1.compute.amazonaws.com:8000 &
>>
>> Everytime I close my terminal the site goes down even though I added
>> the '&' to run it as a background task.
>>
>> Is there a better way of doing this? Are there any resources/books
>> that shows you how to deploy on Amazon? Why isn't there a heroku for
>> Django?
>>
>> Ok, that became a 3 part question :)
>>
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Brian Bouterse
ITng Services

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django app and Amazon AWS (beginner)

2011-03-09 Thread Huy Ton That
Well, if you are just doing a development test, as it seems below foregoing
apache, you can do

sudo nohup python manage.py runserver 0.0.0.0:8000

It will keep on running after you close the terminal.

-H

On Wed, Mar 9, 2011 at 9:46 PM, nai  wrote:

> Hi guys,
>
> I've been lurking on the forums and groups for a while now but I've
> recently ran into some problems I couldn't figure out whilst learning
> to code.
>
> Basically, I have a simple working webapp on my local machine. I've
> signed up for the free Amazon tier and have been messing around with
> it since. So my question is, once I run
>
> python manage.py runserver ec2-122-248-194-176.ap-
> southeast-1.compute.amazonaws.com:8000 &
>
> Everytime I close my terminal the site goes down even though I added
> the '&' to run it as a background task.
>
> Is there a better way of doing this? Are there any resources/books
> that shows you how to deploy on Amazon? Why isn't there a heroku for
> Django?
>
> Ok, that became a 3 part question :)
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django app and Amazon AWS (beginner)

2011-03-09 Thread nai
Hi guys,

I've been lurking on the forums and groups for a while now but I've
recently ran into some problems I couldn't figure out whilst learning
to code.

Basically, I have a simple working webapp on my local machine. I've
signed up for the free Amazon tier and have been messing around with
it since. So my question is, once I run

python manage.py runserver ec2-122-248-194-176.ap-
southeast-1.compute.amazonaws.com:8000 &

Everytime I close my terminal the site goes down even though I added
the '&' to run it as a background task.

Is there a better way of doing this? Are there any resources/books
that shows you how to deploy on Amazon? Why isn't there a heroku for
Django?

Ok, that became a 3 part question :)

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.