Ask Your Question
0

How do I get an instance of askbot working on Fedora?

asked 2013-02-19 09:35:02 -0500

ryanlerch gravatar image

updated 2017-01-13 15:40:02 -0500

mattdm gravatar image

I have just installed askbot on Fedora 18 using the command,

sudo yum install askbot

And have restarted Apache with

sudo service httpd restart

And apache is working perfectly, (the testpage shows at http://localhost/)

However, where does the default configuration of askbot put the askbot URL? From what i can gather from the config files, a sqlite database is used by default, but i cant seem to be able to access my local instance of askbot.

Is there any further configuration that i need to set up? Do I need to start the askbot server?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-02-19 11:52:31 -0500

ralph gravatar image

About a year ago (at the beginning of 2012) we updated python-django in Fedora and broke askbot along the way and no one had yet find the time to fix it. askbot-0.7.48-8 should work much better for you. It hasn't made it into Fedora yet, but you can find some rpms for it here:

http://koji.fedoraproject.org/koji/taskinfo?taskID=5033494

It also has a new dependency which you can find here (there's a koji build linked to from this bug that you can download rpms from): https://bugzilla.redhat.com/show_bug.cgi?id=907583

After installing, (as root) you'll need to do something like the following set of things to configure askbot:

First jump into the config dir. manage.py expects settings.py to be in cwd

pushd /etc/askbot/sites/ask/config/

Gather up dynamic resources and put them in a static/ dir

mkdir -p /usr/lib/python2.7/site-packages/askbot/static

echo "yes" | python manage.py collectstatic

Make db schema updates

echo "no" | python manage.py syncdb

python manage.py migrate askbot

python manage.py migrate django_authopenid

popd

Symlink the default skin into the skins directory

ln -s /usr/lib/python2.7/site-packages/askbot/static/default /usr/lib/python2.7/site-packages/askbot/skins/default

Set perm mask for httpd

chown -R apache:apache /var/log/askbot/

chown -R apache:apache /var/cache/askbot/

edit flag offensive delete link more

Comments

Just a little testing for fedmsg.

ralph gravatar imageralph ( 2013-02-20 14:48:33 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-02-19 09:35:02 -0500

Seen: 58,151 times

Last updated: Feb 19 '13