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 <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to