<commit_before>Vagrant LAMP config with Docker
==================================

Vagrant/Docker files for a LAMP Virtual Machine like setup. In approach to give the speed of the bare metal but the security of a VM using Linux Container (LXC). This configuration gives you a fast, reproducible development environment.

This configuration is designed for Magento development, but can be also used for any PHP application. Tested with Drupal as well.

Preparation
-----------

Install Vagrant (>= 1.6.2): http://www.vagrantup.com/downloads.html

Install Docker (>= 0.11.1) https://www.docker.io/gettingstarted/#h_installation

Copy the dev folder and Vagrantfile from this repository to your project folder

    vagrant up
        
It will take a few minutes for the first time.

Start using
-----------

Add this line to your `/etc/hosts` (or windows equivalent)

    127.0.0.1 www.dev-site.com dev-site.com dev.dev-site-static.com

Your project folder will be served on this url: http://www.dev-site.com:8080

You can SSH to the box:

    vagrant ssh

A mysql database has been set up and ready to use immediately. Username: `myadmin`. Password: `<PASSWORD>`. Database name: `database`

Coming Soon
-----------

1. xdebug
2. phpmyadmin
3. webgrind
<commit_msg>Add README.md provides section<commit_after>Vagrant LAMP config with Docker
==================================

Vagrant/Docker files for a LAMP Virtual Machine like setup. In approach to give the speed of the bare metal but the security of a VM using Linux Container (LXC). This configuration gives you a fast, reproducible development environment.

This configuration is designed for Magento development, but can be also used for any PHP application. Tested with Drupal as well.

Provides
--------

  * Ubuntu 12.04 LTS
  * Apache 2.2.22
  * MySQL 5.5.37
  * PHP 5.3.10
  * SSH
  * supervisord for keeping ssh, apache, mysql running (no init scripts).
  * shutdown script
  * Pre configured Apache virtualhost and a database ready to use
  * Just drop this config into your project and start using

Preparation
-----------

Install Vagrant (>= 1.6.2): http://www.vagrantup.com/downloads.html

Install Docker (>= 0.11.1) https://www.docker.io/gettingstarted/#h_installation

Copy the dev folder and Vagrantfile from this repository to your project folder

    vagrant up
        
It will take a few minutes for the first time.

Start using
-----------

Add this line to your `/etc/hosts` (or windows equivalent)

    127.0.0.1 www.dev-site.com dev-site.com dev.dev-site-static.com

Your project folder will be served on this url: http://www.dev-site.com:8080

You can SSH to the box:

    vagrant ssh

A mysql database has been set up and ready to use immediately. Username: `myadmin`. Password: `<PASSWORD>`. Database name: `database`

Coming Soon
-----------

1. xdebug
2. phpmyadmin
3. webgrind

{'fraction_non_alphanumeric': 0.11748251748251748, 'fraction_numerical': 0.019580419580419582, 'mean_word_length': 3.3480243161094223, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4749480', 'n_tokens_mistral': 878, 'n_tokens_neox': 809, 'n_words': 362}