futurice/futu-py-conffi

Name: futu-py-conffi

Owner: Futurice

Description: python based configuration automation tool ..

Created: 2016-12-27 12:25:43.0

Updated: 2016-12-29 15:03:19.0

Pushed: 2016-12-30 14:42:23.0

Homepage: null

Size: 2868

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

futu-pyconffi

1. What is it ?!

A python based tool for easier configuration management handling

The following diagram depics the software stack of the isg-pub application

2. INSTALLATION AND CONFIGURATION
2.1. Prerequisites

The must have binaries are: bash, perl, zip, python3

The nice to have are: tmux, vim ,ctags

The examples are for Ubuntu - use you OS package manager ?

apt-get autoclean
apt-get install --only-upgrade bash

sudo apt-get install -y perl,python

# optionally 
sudo apt-get install -y excuberant-ctags
sudo apt-get install -y 7z

apt-get upgrade

python -V
# Python 2.7.12
2.2. Fetch the source

Fetch the source from git hub as follows:

# create your product dir:
mkdir -p /opt/futu/futu-pyconffi
cd /opt/futu/futu-pyconffi/
git clone https://github.com/futurice/futu-py-conffi

mv -v /opt/futu/futu-py-conffi /opt/futu/futu-py-conffi.0.1.0.dev.$USER
2.3. Create you local conf file

The default conf file provides only limited functionality ( this is by design ) , thus copy and configure the configuration file for your host

# go to the product version dir
cd /opt/futu/futu-py-conffi.0.1.0.dev.$USER

mv -v sfw/bash/futu-pyconffi/futu-pyconffi.set-your-host.conf \
sfw/bash/futu-pyconffi/futu-pyconffi.`hostname -s`.conf
2.4. run the tests

To run all the tests issue the following call

# go to the product version dir
cd /opt/futu/futu-py-conffi.0.1.0.dev.$USER

bash sfw/bash/futu-py-conffi/test-futu-py-conffi.sh

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.