<commit_before>qwikcelery
==========

Vagrant Ansible VM for developing with celery

# Installing Vagrant

In order to run Vagrant, you need:

- VirtualBox installed
- Ruby installed (should be on your system already)
- Vagrant 1.1+ installed (see
  http://docs.vagrantup.com/v2/installation/index.html).

This should be all it takes to set up Vagrant.

Now bootstrap your virtual machines with the following command. Note that you do not need to download any "box" manually. This project already includes a `Vagrantfile` to get you up and running, and will get one for you if needed.

`vagrant up`

and go grab yourself a coffee (note that if you use vagrant-hostmaster, you'll need 
to type your password since it needs to sudo as root).

If something goes wrong, refer to Vagrant's [Getting Started
Guide](http://docs.vagrantup.com/v2/getting-started/index.html).

# Adding your SSH keys on the virtual machines

To follow this tutorial, you'll need to have your keys in VMs root's `authorized_keys`. 
While this is not absolutely necessary (Ansible can use sudo, password authentication, 
etc...), it will make things way easier.

Ansible is perfect for this and we will use it for the job. From the qwikcelery project directory:

    ansible-playbook -c paramiko -i ips setup.yml --ask-pass --sudo

When asked for password, enter _vagrant_. If you get errors wait a minute and try again...sometimes this takes two tries for me.

# Configuring the VM

Once that command runs successfully you can setup the VM by running:

    ansible-playbook -i hosts celery.yaml
    
When that finishes if there wre no errors you can 

    vagrant up
    
and get to the celery goodness.


Thanks to [<NAME>](https://github.com/leucos) and the other [contributors](https://github.com/leucos/ansible-tuto/graphs/contributors) to [ansible-tuto](https://github.com/leucos/ansible-tuto) for the tutorial and free code.<commit_msg>link to code section where i will add a README<commit_after>qwikcelery
==========

Vagrant Ansible VM for developing with celery

# Installing Vagrant

In order to run Vagrant, you need:

- VirtualBox installed
- Ruby installed (should be on your system already)
- Vagrant 1.1+ installed (see
  http://docs.vagrantup.com/v2/installation/index.html).

This should be all it takes to set up Vagrant.

Now bootstrap your virtual machines with the following command. Note that you do not need to download any "box" manually. This project already includes a `Vagrantfile` to get you up and running, and will get one for you if needed.

`vagrant up`

and go grab yourself a coffee (note that if you use vagrant-hostmaster, you'll need 
to type your password since it needs to sudo as root).

If something goes wrong, refer to Vagrant's [Getting Started
Guide](http://docs.vagrantup.com/v2/getting-started/index.html).

# Adding your SSH keys on the virtual machines

To follow this tutorial, you'll need to have your keys in VMs root's `authorized_keys`. 
While this is not absolutely necessary (Ansible can use sudo, password authentication, 
etc...), it will make things way easier.

Ansible is perfect for this and we will use it for the job. From the qwikcelery project directory:

    ansible-playbook -c paramiko -i ips setup.yml --ask-pass --sudo

When asked for password, enter _vagrant_. If you get errors wait a minute and try again...sometimes this takes two tries for me.

# Configuring the VM

Once that command runs successfully you can setup the VM by running:

    ansible-playbook -i hosts celery.yaml
    
When that finishes if there wre no errors you can 

    vagrant up
    
and get to the celery goodness.


[Get Started](https://github.com/frodopwns/qwikcelery/tree/master/code)


Thanks to [<NAME>](https://github.com/leucos) and the other [contributors](https://github.com/leucos/ansible-tuto/graphs/contributors) to [ansible-tuto](https://github.com/leucos/ansible-tuto) for the tutorial and free code.
{'fraction_non_alphanumeric': 0.07696215392430784, 'fraction_numerical': 0.002032004064008128, 'mean_word_length': 3.9472361809045227, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '5840233', 'n_tokens_mistral': 1195, 'n_tokens_neox': 1123, 'n_words': 530}