Re: django deployment in a virtual machine.

2015-02-25 Thread felix
El 25/02/15 12:19, dk escribió: thanks guys, I installed Apache and I am setting everything, does my project really need to be in /etc/www/ No. It's even not recommended. or I can put anywhere in the computer? just making sure the apache.conf point to that address? Basic configuratio

Re: django deployment in a virtual machine.

2015-02-25 Thread James Schneider
I believe a2ensite is a Debian-specific shortcut that allows you to quickly enable/disable various site configurations through the use of symlinks. For CentOS you'll need to create a configuration file in your conf.d directory for your virtual host. I believe it will be included automatically by h

Re: django deployment in a virtual machine.

2015-02-25 Thread dk
looks like centos7 doesn't have or need that, it comes with a folder call conf.d and if the .conf file I inside this folder, is like if was activate it. =) On Wednesday, February 25, 2015 at 1:01:57 PM UTC-6, Blazor wrote: > thanks I am watching >> https://www.youtube.com/watch?v=hBMVVruB

Re: django deployment in a virtual machine.

2015-02-25 Thread Blazor
> > thanks I am watching > https://www.youtube.com/watch?v=hBMVVruB9Vs > but i am stuck at min 20 since it say that I need to activate the website, > with a2ensite > they gave me a centos7 machine that doesn't have those commands. > a2ensite is basically a shortcut for creating a symbolic l

Re: django deployment in a virtual machine.

2015-02-25 Thread dk
thanks I am watching https://www.youtube.com/watch?v=hBMVVruB9Vs but i am stuck at min 20 since it say that I need to activate the website, with a2ensite they gave me a centos7 machine that doesn't have those commands. On Wednesday, February 25, 2015 at 11:39:01 AM UTC-6, Andrew Farrell wrot

Re: django deployment in a virtual machine.

2015-02-25 Thread Andrew Farrell
Linode and Digital Ocean both have good tutorials on setting up a production deployment o

Re: django deployment in a virtual machine.

2015-02-25 Thread Rodrigo Zayit
anywhere Atenciosamente, Rodrigo de Oliveira On Wed, Feb 25, 2015 at 2:19 PM, dk wrote: > thanks guys, I installed Apache and I am setting everything, does my > project really need to be in /etc/www/ > > or I can put anywhere in the computer? just making sure the apache.conf > point to that a

Re: django deployment in a virtual machine.

2015-02-25 Thread dk
thanks guys, I installed Apache and I am setting everything, does my project really need to be in /etc/www/ or I can put anywhere in the computer? just making sure the apache.conf point to that address? On Wednesday, February 25, 2015 at 6:29:25 AM UTC-6, Fernando Ramos wrote: > If there's

Re: django deployment in a virtual machine.

2015-02-25 Thread Fernando Ramos
If there's more than one person using it your site will only grow. The Django web server is meant for debugging, not production. Go the extra step and setup ngnix or another simple http server. You will thank yourself later. El martes, 24 de febrero de 2015, 14:49:16 (UTC-7), dk escribió: > > i

Re: django deployment in a virtual machine.

2015-02-25 Thread aRkadeFR
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://uws

Re: django deployment in a virtual machine.

2015-02-24 Thread dk
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" > escreveu: > >> I got a virtual machi

Re: django deployment in a virtual machine.

2015-02-24 Thread George Silva
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" 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

django deployment in a virtual machine.

2015-02-24 Thread dk
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 th