Install virtual machine from vagrant config file:
$ vagrant upSSH access to virtual machine for terminal (default username and password is "vagrant"):
$ vagrant sshSynchronized source files in host machine are located in virtual machine:
$ cd /vagrant/Create Virtualenv
$ virtualenv venvActivate VirtualEnv
$ . venv/bin/activateInstall Flask
$ pip install flaskStart Vagrant box
$ vagrant up
$ vagrant sshView your IP address
$ ifconfigActivate VirtualEnv
$ cd /vagrant/
$ . venv/bin/activateRun App
$ python run.pyor
$ export FLASK_APP=app.py
$ flask run --host 0.0.0.0Open your favorite browser in your host machine and open URL:
http://YOUR_IP_ADDRESS:5000now you should see "Hello World"