not production i hope.
in prod use nginx. if not on prod use runserver 0.0.0.0:8000
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bf9c8f15-7206-4932-95c9-d5c8bc82af9b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5f1533ca-afee-4779-914e-6632931cea10%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL6GM4%2B4dryN7oOtD%2Bmejc0NUrDZrgf6wUEORtq6dGjfMSGosg%40mail.gmail.com.
thanks I am watchingbut i am stuck at min 20 since it say that I need to activate the website, with a2ensitethey gave me a centos7 machine that doesn't have those commands.
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 httpd when it is restarted, whereas Debian configures apache to pull configuration files from the sites-enabled directory which contains symlinks back to the real files in sites-available.
-James
--
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/a7702198-bc1b-4aeb-92a3-0a673979d04f%40googlegroups.com.
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?
Once you’ve got mod_wsgi installed and activated, edit your Apache server’s httpd.conf file and add the following. If you are using a version of Apache older than 2.4, replace Require all granted with Allow from all and also add the line Order deny,allow above it.
WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com <Directory /path/to/mysite.com/mysite> <Files wsgi.py> Require all granted </Files> </Directory>Cheers,