Wednesday, February 25, 2015

Re: django deployment in a virtual machine.

Hello there,

It's always good to take a look at how prodding a django website.

As George Silva said, you need nginx/apache or other. They will serve
your media and static files. Then for the django server, you need
to run it in uWSGI or another wsgi, and link it to your nginx/apache.

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

Have fun :)

On 02/24/2015 10:49 PM, dk wrote:
its just a website with one link =)
basicly shows one graph. and that's it.

On Tuesday, February 24, 2015 at 3:41:14 PM UTC-6, george wrote:

not production i hope.

in prod use nginx. if not on prod use runserver 0.0.0.0:8000

Em 24/02/2015 18:37, "dk" <dem...@gmail.com> escreveu:
I got a virtual machine with Linux centos that we are going to use for our django webpage. 
that machine will have the html service on. so when people go to the computer typing the IP, will show them the webpage. is there any special trick to do? like make a service that lunch manage.py with the runserver command?
if any one can point me to a webpage I will appreciate.

thanks guys.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e3255fbf-27c2-4ac5-bec6-939b9a8744cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bf9c8f15-7206-4932-95c9-d5c8bc82af9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment