Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.13 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.13 KB

Vagrant Flask Template

N|Solid

Vagrant Flask Template integrates, with as little as possible code/configuration, the following:

  • Python,
  • Flask
  • Vagrant(virtualbox)

Requirements

The following applications are required to run the Vagrant Flask Template

If developing on Windows you will need to use an additional application in order to SSH into the box (explained later)
I'd recommend using the Git Shell packaged with the Github Desktop Application

Setup Instructions

  1. Clone this repository. More info at How to Clone a repository

  2. Follow these commands on terminal or git bash/git shell

# cd into the repository root (top level of the repository where Vagrantfile is)
$ Vagrant up
$ Vagrant ssh
# Now you have established an SSH connection with the dev box
$ python /vagrant/app/flaskhelloworld.py
  1. Navigate to the following address on your browser of choice: localhost:5000