The answer is here. It should just work, if you have any problems - please report them.
edit: please keep in mind that the free account is quite limited and probably should not be used for a real life application.
As I've tested, installation fits into a the free disk quota and the application works, however some performance improving tricks are possible - will update later.
The instructions in the wiki seem to be outdated. For example, there's no
django_site/settings_local.py
and the changes that it suggests are located in the file
django_site/askbot/setup_templates/settings.py
should I copy the former to the latter? or should I change it right where it is?
Thanks for the help. However I'm kind of disapointed. Don't askbot warns people through email? I thought it did but I got no emails warning me about answers to my questions. Is that normal?
The install is now running into several obstacles and doesn't work as is. First of all it renames the tar file "master" and then halts installation before creating the django_site directory. Second, more annoying, is that setup.py tries to fetch the django toolbar program dependency at a website that is down, so that setup.py also halts -- this is a problem I have even in installing it on my own system.
I am looking forward to one day using askbot but as it is now, none of the installation instructions actually work.
EDIT: the alwaysdata installation instructions now work.
This is a well-written how-to - thanks. As of Nov. 2011, the setup file no longer contains the lines :
...
if sys.platform not in WIN_PLATFORMS
install_requires.append('mysql-python')
So, they can't be commented out, which was a bit confusing, but one goes on. However the install went way over the alwaysdata limits. I ended up springing for the 9e service and when the install was finished it was at 27 Mb. No worries, I can afford 9e a month.
However, when I start askbot (python manage.py runserver) I get an error message saying settings.py can't be found, which ends up being an import error, where settings.py can't find the module for djcelery (and others) even though the modules are right there.
Have to say I'm quite lost at this point. Believe I've followed the instructions but haven't got the python kung fu to debug.
William, I am sorry but the earliest we can respond is this Sunday, we are at a conference tomorrow. Looks like the issue is with the python paths.
Evgeny (Nov 04 '11)
Hi,
Everything was fine as given in wiki till I executed following command :
python manage.py syncdb
I get this error on alwaysdata shell :
Traceback (most recent call last):
File "manage.py", line 2, in <module>
from django.core.management import execute_manager
ImportError: No module named core.management
Please let me know how to debug this.
Thanks.
That means that django is not on your python path, please take a look at how to specify the python path. It is possible to add it inside the .wsgi script or in the webserver configuration.
Evgeny (Mar 28)I'd like to mention that it is challenging to set up a web app like askbot in a free account of alwaysdata. You might have better time at more proper hosting. There are quite a few good and inexpensive vps offerings.
Evgeny (Mar 28)@Evgeny : Please give me proper instructions which could yield some results. From so many weeks I'm trying to get Askbot up first on localhost (already asked question, however no one bothers to answer/help) and then this alwaysdata. I've no clue what to be done now. Askbot wiki was updated long back, so I don't understand whether to follow it or not.
Chetan Patil (Mar 29)Asked: May 12 '10
Seen: 1,234 times
Last updated: Mar 28
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.