<commit_before>Nepho: Harvard Cloud Deploy Tool
=========================

This tool is intended to be used to deploy an 
applications to a CloudFormation-compatible IaaS environment such as 
Amazon AWS, and in the future to any orchestratable 
IaaS environment, including OpenStack, Vagrant, VMware,
etc. The goal is to package CloudFormation and 
similar template resources, configuration management code,
and application code into a plugin-like format. 

Status
------

This project is very new, but we have some working code, and are building the framework.

Installation
------------

Requirements:

- git
- python 2.6 or newer
- setuptools
- boto
- awscli
- jinja2

To install, clone this repository:

    $> git clone https://github.com/huit/nepho

Next make sure that you can install the needed python libraries for the tool using 
a python tool like `easy_install` or `pip`. Here we'll assume that `pip` is available for this; 
on some systems you may need to install globally as root, so precede each command with `sudo`.

    $> pip install aswcli boto jinja2 PyYAML

Once these libraries are available we can also setup our nepho code.

#### Local Development Installation

To run nepho from the locally checked out source code, we can simply setup some environment variables to
tell our shell and python where to look:

   $> export PATH=$PATH:./bin
   $> export PYTHONPATH=./nepho:$PYHTHONPATH
   
The patterns are now located at `./` and deployment files are located under `nepho/data/deployments/`

#### System-wide Development Installation

If you want a system-wide installation, you can use setuptool.
From the root of the cloned `nepho` directory, (i.e. `cd ./nepho`) install the tool into your local tree

    $> python setup.py develop

This will install nepho into the system tree in such a way that it points back to the locally checked out copy.

NOTE: the following sections will need to be adjusted based on the new install process.


Configuration
-------------<commit_msg>indent code properly.<commit_after>Nepho: Harvard Cloud Deploy Tool
=========================

This tool is intended to be used to deploy an 
applications to a CloudFormation-compatible IaaS environment such as 
Amazon AWS, and in the future to any orchestratable 
IaaS environment, including OpenStack, Vagrant, VMware,
etc. The goal is to package CloudFormation and 
similar template resources, configuration management code,
and application code into a plugin-like format. 

Status
------

This project is very new, but we have some working code, and are building the framework.

Installation
------------

Requirements:

- git
- python 2.6 or newer
- setuptools
- boto
- awscli
- jinja2

To install, clone this repository:

    $> git clone https://github.com/huit/nepho

Next make sure that you can install the needed python libraries for the tool using 
a python tool like `easy_install` or `pip`. Here we'll assume that `pip` is available for this; 
on some systems you may need to install globally as root, so precede each command with `sudo`.

    $> pip install aswcli boto jinja2 PyYAML

Once these libraries are available we can also setup our nepho code.

#### Local Development Installation

To run nepho from the locally checked out source code, we can simply setup some environment variables to
tell our shell and python where to look:

    $> export PATH=$PATH:./bin
    $> export PYTHONPATH=./nepho:$PYHTHONPATH
   
The patterns are now located at `./` and deployment files are located under `nepho/data/deployments/`

#### System-wide Development Installation

If you want a system-wide installation, you can use setuptool.
From the root of the cloned `nepho` directory, (i.e. `cd ./nepho`) install the tool into your local tree

    $> python setup.py develop

This will install nepho into the system tree in such a way that it points back to the locally checked out copy.

NOTE: the following sections will need to be adjusted based on the new install process.


Configuration
-------------
{'fraction_non_alphanumeric': 0.08100697906281157, 'fraction_numerical': 0.0019940179461615153, 'mean_word_length': 3.788782816229117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3885686', 'n_tokens_mistral': 1115, 'n_tokens_neox': 1056, 'n_words': 560}