Ask Your Question
1

How to install askbot on free hosting account at alwaysdata.com?

asked May 12 '10

Evgeny gravatar image Evgeny flag of Chile
4735 29 43 58
http://askbot.org/

updated Sep 08 '10

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.

5 Answers

Sort by ยป oldest newest most voted
1

answered May 12 '10

Evgeny gravatar image Evgeny flag of Chile
4735 29 43 58
http://askbot.org/

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.

link

Comments

Great stuff! Pekka (May 13 '10)
1

answered May 13 '10

jeremy gravatar image jeremy
123 2 8 10

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?

link

Comments

Askbot has a E-Mail notification function. Did you set up E-Mail notification in the setup_local.py file? In the block starting with "SERVER_EMAIL"? Pekka (May 13 '10)
Automatic notification. I mean, like you answer to my question and I'm warned about it. Why didn't I received any from this site? jeremy (May 13 '10)
hey, email updates are now running. you won't get updates on anything that you've already seen, b/c forum keeps track of that per user. Also no emails are sent about new comments (yet). Evgeny (May 13 '10)
Good. But are they instant or not? jeremy (May 13 '10)
They are delayed now. I will add instant updates on responses by monday. Looks like there will be two notification systems - one instant and one delayed. Most users will want delayed once a day or once a week notification, but instant notification is a good idea for responses and most eager users. Evgeny (May 13 '10)
see 2 more comments
1

answered Aug 23 '10

hector gravatar image hector
11 1

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?

link

Comments

Hector, I've updated and tested instructions - on the same wiki page. Evgeny (Aug 23 '10)
1

answered Sep 08 '10

marco gualtieri gravatar image marco gualtieri
11 2

updated Sep 08 '10

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.

link

Comments

Hi Marco, the script got broken, thanks for letting me know. Please try the same instructions again (but wipe out all the things you've dowloaded). I've removed the debug_toolbar from the dependencies. Also - please note that free alwaysdata is very limited and might suit your real-life needs. Evgeny (Sep 08 '10)
I wiped out all the directories which are installed before. But now the script goes over memory and we get settings.py being 0 bytes as well as manage.py and init.py. Also in the installation instructions you should remove the obsolete instructions concerning old version of Django. marco gualtieri (Sep 08 '10)
Also, now that you have fixed that script, does this fix also apply to the usual installation? I was getting the same problems with debug_toolbar when I attempted installation on my own computer. Marco marco gualtieri (Sep 08 '10)
yes, the normal installation should work, I've removed toolbar from the dependencies - it's not necessary unless you write code. The "over memory" problem will probably go away after you kill any jobs, log out and then log in again. Evgeny (Sep 08 '10)
what happens if you type `python` and then `import _mysql` into the python shell? do you see error messages? Evgeny (Sep 08 '10)
see 8 more comments
0

answered Nov 04 '11

WilliamF gravatar image WilliamF
1

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.

link

Comments

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)

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow
3 followers

subscribe to rss feed

Stats

Asked: May 12 '10

Seen: 1,142 times

Last updated: Nov 04 '11