Name: geonode-summit-2016-devops
Owner: GeoNode Development Team
Description: DevOps tools for developing & deploying the GeoNode Summit 2016 website
Created: 2016-09-14 19:28:04.0
Updated: 2016-09-15 15:28:05.0
Pushed: 2016-09-18 21:40:37.0
Homepage: http://summit.geonode.org
Size: 6
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
DevOps tools for developing & deploying the GeoNode Summit 2016 website, including Ansible and Vagrant configuration files for building and managing Ubuntu development boxes.
After following the installation steps, continue to Launch section to start up the website in a development box.
On the control/host machine, you'll need to install Ansible and Vagrant.
Quick Install
If not already installed, to quickly install Ansible, run the following:
apt-get install python-dev # if not already installed
easy_install pip # if pip is not already installed
pip install virtualenv virtualenvwrapper
into project directory (geonode-summit-2016-devops.git)
pip install -r requirements.txt
Ansible is an agent-less provisioning tool for managing the state of machines. It is used by Vagrant.
To get Ansible follow the relevant section below. Also see http://docs.ansible.com/ansible/intro_installation.html#getting-ansible for more information.
easy_install pip # if pip is not already installed
pip install ansible
Create a secret.yml
file in the project root.
To add an Ubuntu 16.04 LTS (“Xenial”) vagrant box to your control machine, run:
ant box add bento/ubuntu-16.04
Do no use ubuntu/xenial64
from Ubuntu cloud images, as referenced here: https://bugs.launchpad.net/cloud-images/+bug/1569237.
To launch the virtual machine run:
ant up
To re-provision the virtual machine run:
ant provision
Once the image is provisioned, ssh into the machine via:
into project directory (geonode-summit-2016-devops.git)
ant ssh
Once in the virtual machine, use Jekyll Serve with the following line. Include -H 0.0.0.0
so the host machine can access the site.
ll serve -H 0.0.0.0