GeoNode/geonode-summit-2016-devops

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

GeoNode Summit 2016 DevOps (geonode-summit-2016)

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.

Installation

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

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.

Mac OS X & Ubuntu
 easy_install pip  # if pip is not already installed
 pip install ansible

Usage

Create a secret.yml file in the project root.

Vagrant

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
Launch

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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.