This repository contains Ansible playbooks deploying Askbot.
- Get a clean CentOS or RHEL VM where you can ssh in as root using ssh keys.
- Install Ansible (www.ansible.com)
- Edit
hosts.devel
to set which hostname you are deploying onto. - Edit
askbot_complete.yml
to set the hostname of your site and other application options. - Run
ansible-playbook -i hosts.devel askbot_complete.yml
This should do the following:
- Install Postgres, apache and memcached
- Create a Python virtualenv at /var/www/askbot for all Askbot instances
- Download and install Askbot and it's Python dependencies
- Configure Postgres for Askbot
- Configure Apache to run askbot within the mod_wsgi container