First time here? Check out the FAQ!
0

Help with installing askbot-0.7.48

I've tried to set up askbot a number of times on several different machines with varying levels of success, none of them complete. It seems that the pip install askbot doesn't work very well out of the box anymore. I ended up installing on Amazon EC2. This is a placeholder "question" for the answer that I was able to come up with.

knmnyn's avatar
51
knmnyn
asked 2013-03-14 06:17:54 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

3

Here's what I was able to figure out. I think the install finally works..

  1. pip install askbot now installs Django==1.5 instead of Django==1.4 which is needed, since Django==1.5 apparently isn't supported. You have to do a pip install -U Django==1.4 to revert Django back to 1.4

  2. I previously tried to install Askbot via pip install askbot, rather than through the develop branch in github, but here it runs into problems. I'm trying to install with MySQL, but the python manage.py askbot migration doesn't work with InnoDB (dies around migration 101). Perhaps in the install instructions you should mention to set the DB to MyISAM by default. One way to do this is through the /etc/my.cnf file.

  3. For EC2, when using Apache, you need to install mod_wsgi as it is not part of the AMI image by default.

knmnyn's avatar
51
knmnyn
answered 2013-03-14 06:18:27 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
2

I tried over the last couple of days to get askbot running on amazon elastic beanstalk myself and went into many smaller hickups. I've put all my stuff together in a so-to-say quick guide as a github gist here:

https://gist.github.com/ligthyear/5188195#file-askbot-on-aws-elastic-beanstalk-md

Would appreciate your feedback and remarks. Maybe there is something I should add?

lightyear's avatar
31
lightyear
answered 2013-03-18 11:01:46 -0600
edit flag offensive 0 remove flag delete link

Comments

Very nice! Much more thorough than my mini-tutorial. Certainly a good gist since it incorporates more functionality (i.e., Elastic beanstalk). Thanks for the lead.

knmnyn's avatar knmnyn (2013-03-26 13:30:29 -0600) edit
add a comment see more comments