WebFaction
Community site: login faq

Are there any issues using virtualenv for a django project? I do use virtualenv in my development, but I was wondering if it is possible with WebFaction's config.

I am having a problem getting pip to install my django apps in webapps/prj/lib/python2.6. There appears to be no way to specify an alternate folder to install to. Easy_install, on the other hand, does allow you to specify an alternate folder. However, it doesn't allow for installing from a git repo. I found this article http://forum.webfaction.com/viewtopic.php?id=2910 that seems to use virtualenv but it's from a year ago, so I wasn't sure if it is still valid.

Thanks Bjorn

asked 22 Oct '10, 21:44

bmeyer71 ♦♦
1.5k3613
accept rate: 33%


Hi Bjorn, I see no major changes in our environment since the time of writing, that would cause the steps in the above article(http://forum.webfaction.com/viewtopic.php?id=2910) to not work.

I think you should go ahead and try it, if you face any problems you could always start over or file a support ticket with us so that we can help further.

Hope that helps!

permanent link

answered 22 Oct '10, 22:30

neeravk
1.5k3412
accept rate: 41%

Thanks. I found another link (http://insatsu.us/blogs/thomas-schreiber/deploying-djangos-sites-framework-webfaction-virtu/) that also gives instructions to set up virtualenv on WebFaction, so I am going to see what I can come up with.

Bjorn

(23 Oct '10, 19:03) bmeyer71 ♦♦

Article's new link is: http://insatsu.us/blogs/thomas-schreiber/2009/04/09/deploying-djangos-sites-framework-webfaction-virtu/

(27 Apr '11, 17:31) bonsaistudio

Did you get it working?

(10 May '11, 10:06) JBlack

Yes. I've used this as a basis for my deployments combined with Fabric.

(10 May '11, 10:58) bmeyer71 ♦♦

I would recommend installing virtualenv with django as shown here.

(15 May '13, 21:55) ryans ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×44

question asked: 22 Oct '10, 21:44

question was seen: 6,195 times

last updated: 15 May '13, 21:55

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM