Not only can you experience AnswerHub firsthand, but you can also ask and explore questions and answers about AnswerHub.
To get started, try typing a question in the search bar. If your question hasn't been asked, try posting a new question.
If you are a current customer, please use the Customer Success portal instead of this communtiy.
The first part of an OSX install is similar to Ubuntu - install the necessary python packages and use svn to download the latest osqa package to your /Library/Python/2.6/site-packages folder. This installation will assume osqa is downloaded to /Library/Python/2.6/site-packages/osqa, and will be running at http://localhost/osqa
OSX does not come with mod_wsgi pre-installed in apache.
The directions from http://jessenoller.com/2009/07/24/django-mod_wsgi-apache-and-os-x-do-it/ worked well to start:
1. Download & build mod_wsgi curl -o mod_wsgi.tgz http://modwsgi.googlecode.com/files/mod_wsgi-3.2.tar.gz tar -xzf mod_wsgi-3.2.tar.gz cd mod_wsgi-3.2 ./configure make sudo make install
2. Add the following lines to your httpd.conf (usually in /private/etc/apache2/httpd.conf)
LoadModule wsgi_module libexec/apache2/mod_wsgi.so Include /private/etc/apache2/wsgi.conf
3. Create the file wsgi.conf and put in it:
<VirtualHost localhost:80> ServerAdmin forum@localhost DocumentRoot /Library/Python/2.6/site-packages/osqa ServerName localhost
Options ExecCGI Indexes FollowSymLinks MultiViews AddHandler wsgi-script .wsgi WSGIDaemonProcess osqa WSGIProcessGroup osqa
Alias /m/ /Library/Python/2.6/site-packages/osqa/forum/skins/ Alias /upfiles/ /Library/Python/2.6/site-packages/osqa/forum/upfiles/ <Directory /Library/Python/2.6/site-packages/osqa/forum/skins> Order deny,allow Allow from all </Directory> <Directory /Library/Python/2.6/site-packages/osqa> Order deny,allow Allow from all </Directory>
WSGIScriptAlias /osqa /Library/Python/2.6/site-packages/osqa/osqa.wsgi
CustomLog /var/log/apache2/osqa/access_log common ErrorLog /var/log/apache2/osqa/error_log </VirtualHost>
Note: There are further modifications / security enhancements in the OSQA installation instructions - check them out as you may want to add them.
4. Edit your osqa.wsgi file in /Library/Python/2.6/site-packages/osqa:
#!/usr/bin/python import os import sys sys.path.append('/Library/Python/2.6/site-packages') sys.path.append('/Library/Python/2.6/site-packages/osqa') os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings' os.environ['PYTHON_EGG_CACHE'] = '/tmp' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()
5. Restart Web Sharing from your System Preferences, and visit your osqa site at http://localhost/osqa