First time here? Check out the FAQ!

Dario's profile - activity

2013-09-28 21:54:20 -0500 received badge Necromancer ( source )
2012-12-20 15:50:49 -0500 commented answer Translation doesn't work

I've also had problems with translation. Problem are plural strings which are not getting translated. I've solved it by manually changing text in templates and code. I know it's crappy way to fix it but allot of stuff is left untranslated after you translate .po file. Half translated website looks bad and unprofessional so I had to do it.

2012-11-02 20:40:05 -0500 received badge Editor ( source )
2012-11-02 19:22:06 -0500 answered a question Need step by step installation procedure in WebFaction

Here is how to install Askbot from GitHub with Django 1.3.4 (Django 1.3.1 is labeled as INSECURE).
I'm using example names like myapp, myproject..., change them with your names and data.

1.Create an App (Control Panel > Domains/websites > Applications > Add new application)
Name: myapp
App Category: Django
App Type: Django 1.3.4 (mod_wsgi 3.3/Python 2.7)

2.Create Database (Databases > Create new database)
Type: Postgresql or MySql
Name: username_myapp (This name will also be your database username in

3.Connect to your server via ssh

$ ssh

4.Clone Askbot form GitHub

$ cd ~/webapps/myapp
$ git clone git:// myask

5.Change Django version dependency

$ cd myask
$ nano askbot_requirements.txt (change django==1.3.1 to django==1.3.4)
$ nano askbot_requirements_dev.txt (change django==1.3.1 to django==1.3.4)
$ cd askbot
$ nano (in REQUIREMENTS change django==1.3.1 to django==1.3.4)
$ cd ..

6.Install Askbot (force to install packages into your app python and bin folder, if it fails to download some package just run command again)

$ PYTHONPATH=$HOME/webapps/myapp/lib/python2.7 python2.7 install 
$ cd ..

7.Run askbot-setup

$ ./bin/askbot-setup -n myproject -d datatbase_name -u database_username 
  -p database_password
$ cd myproject
$ python2.7 syncdb --all (say no to create superuser)
$ mkdir static
$ python2.7 collectstatic

8.Create app for serving static content (Control Panel > Domains/websites > Applications > Add new application)
Name: static_app
App Category: Symbolic link
App Type: Symbolic link to static-only app
Extra info: /home/username/webapps/myapp/myproject/static

9.Create Website (Control Panel > Domains/websites > Websites > Add new website)
Name: mysite
Add first app (Add a web app > Reuse an existing Web App)
Select myapp

Add second app (Add a web app > Reuse an existing Web App)
Select static_app
In URL add letter 'm' (without quotes)

10.Edit httpd.conf

$ nano ~/webapps/myapp/apache2/conf/httpd.conf

Change WSGIScriptAlias to:

WSGIScriptAlias / /home/username/webapps/myapp/myproject/django.wsgi


$ nano ~/webapps/myapp/myproject/

Set DEBUG = False
Insert your name and email in ADMINS

12.Enable Full Text Search (Postgresql)

$ python init_postgresql_full_text_search

13.Restart Apache

$ ~/webapps/myapp/apache2/bin/restart
2012-10-19 15:42:34 -0500 received badge Teacher ( source )
2012-10-19 15:42:34 -0500 received badge Necromancer ( source )
2012-10-19 15:10:03 -0500 answered a question What is required to integrate Askbot with Django CMS?

I haven't integrated it myself but I've build some custom cms-like stuff on top of askbot and I don't think it would be that hard to integrate it. I would probably start by installing askbot and then build rest of the stuff on top of it. Django-cms is just a Django app so install it like a django app inside of askbot project. There is no magic one line command to integrate it all, you have to get your hands dirty and customize askbot for your needs. If you are new to all this go trough django,askbot&django-cms docs&code and start hacking. That's the hardest but best way to learn something. Happy hacking :-)