Skip to content

Latest commit

 

History

History
51 lines (43 loc) · 1.6 KB

vagrant_setup.md

File metadata and controls

51 lines (43 loc) · 1.6 KB

How to Set Up Validate Email Using Vagrant on PC

  1. Download Vagrant & Virtual Box
  2. Look at http://docs.vagrantup.com/v2/getting-started/ to make a linux virtual machine via vagrant
    • tl;dr using bash (Can use regular Windows Terminal)
      • Make a folder first, whenever you want to access the vm you will need to cd into that folder
      $ vagrant init hashicorp/precise32
      
      $ vagrant up
      
      $ vagrant ssh
      
      • This last command is used to go into your vm
  3. Install pipin the vm
  4. Install pyDNS
    This is a package dependency of validate email
    
    $ sudo pip install pydns
    
  5. Install git
     $ sudo apt-get install git
    
  6. Clone the validate_email repo to your vm
    • (Since its a new machine you will need to clone using the https url)
    • $ git clone [email protected]:efagerberg/validate_email.git
    • If you want to use your ssh keys on your machine you will need to add this line to the vagrant file under the config
      • Looks somthing like this: Vagrant::Config.run do |config|

        stuff

        config.ssh.forward_agent = true end
  7. cd into validate_email and run script
    $ cd validate_email
    
    $ python validate_email.py