asked 2011-02-12 00:28:32 -0500
This post is a wiki. Anyone with karma >100 is welcome to improve it.
I am looking to install this on an Ubuntu machine, and would prefer to install django from apt instead of from easy install. However the installer requires exactly 1.2.2 of django before it will continue. This is too high for Lucid, which distributes django version 1.1.1. But Maverick comes with Django version 1.2.3.
Can I use django 1.2.3? If so how can I tell the pip installer to use the installed version?
answered 2011-02-14 07:02:45 -0500
This post is a wiki. Anyone with karma >100 is welcome to improve it.
Whilst askbot might work, I'm not sure 'startforum' does - I think there is an issue where it requires django==1.1.2, not django > 1.1.2 (if that is even possible to specify?)
-- Edit-- A quick test shows it does install fine:
(askbot)mcMoo:forum jt$ pip freeze | grep Django
Django==1.2.3
(askbot)mcMoo:forum jt$ startforum
Deploying Askbot - Django Q&A forum application
Problems installing? -> please email admin@askbot.org
To CANCEL - hit Ctr-C at any time
Where to deploy (in which directory)? .
Copying files:
* __init__.py
* settings.py
* manage.py
* urls.py
copying directories: doc cron upfiles
Done. Please find further instructions in the file below:
/.. cut .. /INSTALL
answered 2011-02-12 00:52:34 -0500
This post is a wiki. Anyone with karma >100 is welcome to improve it.
edit: OK, I remember now what was the problem with 1.2 - need to change requirement to use Coffin library version 0.3.3, the default requirement is 0.3.
Give it a shot, a while ago someone tested askbot with 1.2 and it worked. I have not tested yet myself.
For safety - not to affect your site-wide python libraries - you might create a virtual environment
virtualenv /path/to/new/env --no-site-packages
Then run
/path/to/new/env/bin/pip install askbot
Then using a similar command install the version of django that you would like to use:
/path/to/new/env/bin/pip install django==1.2.3
If you find any barring issues, please tell about them, but hopefully it will just work.
Askbot ships with setup.py file where versions of some dependencies are very specific. You can override them by editing the setup.py, then run /path/to/your/virtual/env/python setup.py install.
There is also option python setup.py develop - useful when you clone code from the repo and plan to use git to maintain your customizations (like skin).
After installing it is possible to run tests python manage.py test askbot - works much faster with postgres. Two or three tests will fail because there is some missing test data, but the remaining tests should pass.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2011-02-12 00:28:32 -0500
Seen: 200 times
Last updated: Feb 15 '11
EmailField() not working in django
How to install askbot on Ubuntu with LAMP?
How to internationalize counts say for Russian in Django?
How to configure Apache to run Django application?
How to customize messages in django applications?
can I run askbot on tornado instead of django
Do you know any real life websites using Askbot
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.