On Mon, Aug 11, 2014 at 9:11 AM, H.S.Rai <hardeep.rai@gmail.com> wrote:
On Sat, Aug 2, 2014 at 6:16 AM, Ankesh Anand <ankeshanand1994@gmail.com> wrote:
> I will modify the Makefile to use virtualenv from now on.

Have you done it.

Yes, updated the Makefile to use virtualenvs from now on.

Our other dJango application were working fine day before yesterday. But now
benchmark project is activated in /var/www and other django
applications have stop working.

Please make it in /home/benchmark not in /var/www, using virtual environment.

Why we should not put files under /var/www:

I don't think that putting web-stuffs in /var/www is a good idea. You
have your home
directory where you are the boss and have all permissions. Why to mess with
permission while working in root?

If case of Django application, you can directly store it in your home
directory. Even
you don't have to create any public_html and enable user_dir. Don't
you think it'll be easy?
It'll be easy for admins too, because then you don't need any root permissions.

I get the point. I have moved my project to /home/benchmark/deployment. Changed the aliases accordingly. Things are working fine as of now.

Ankesh Anand
Undergrad,Mathematics and Computing at
Indian Institute of Technology,Kharagpur