Update vagrant_setup.md
This commit is contained in:
parent
66dcd1f9f8
commit
67b578f6c7
1 changed files with 21 additions and 9 deletions
|
@ -7,19 +7,28 @@ How to Set Up Validate Email Using Vagrant on PC
|
|||
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
|
||||
```
|
||||
$ vagrant init hashicorp/precise32
|
||||
|
||||
$ vagrant up
|
||||
|
||||
$ vagrant ssh
|
||||
```
|
||||
* This last command is used to go into your vm
|
||||
3. Install pipin the vm
|
||||
* http://www.saltycrane.com/blog/2010/02/how-install-pip-ubuntu/
|
||||
* tl;dr
|
||||
* $ sudo apt-get install python-pip
|
||||
4. Install pyDNS
|
||||
* This is a package dependency of validate email
|
||||
* $ sudo pip install pydns
|
||||
```
|
||||
This is a package dependency of validate email
|
||||
|
||||
$ sudo pip install pydns
|
||||
```
|
||||
5. Install git
|
||||
* sudo apt-get 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 git@github.com:efagerberg/validate_email.git
|
||||
|
@ -30,7 +39,10 @@ How to Set Up Validate Email Using Vagrant on PC
|
|||
config.ssh.forward_agent = true
|
||||
end
|
||||
7. cd into validate_email and run script
|
||||
* $ cd validate_email
|
||||
* $ python validate_email.py
|
||||
```
|
||||
$ cd validate_email
|
||||
|
||||
$ python validate_email.py
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue