J
J
John2015-10-10 16:39:21
Django
John, 2015-10-10 16:39:21

How to install Django 1.8, Python 3 and configure Apache on VPS(Centos 6)?

It is not possible to install django on the server so that there is access from outside. Everything is complicated by the fact that python 2.6 is already installed on centos 6, which cannot be touched, and the site on wordpress is already spinning on Apache. I'm afraid to break everything.
I've been struggling with this problem all day and can't get it to work. Can you describe how you figured it out step by step?
Z.Y. Yes, I'm a lamer -_-

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2015-10-10
@Bekchan

virtualenv -p python3 your_new_project
cd your_new_project
source bin/activate
pip install django==1.8

And then run through uWSGI or Gunicorn
Nobody uses Apache for Django. nginx only.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question