Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Commit

Permalink
Added vagrant development environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ralph089 committed Feb 9, 2017
1 parent 2e4b0dc commit b551180
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ Ready to contribute? Here's how to set up `nagios_check_paloalto` for local deve

7. Submit a pull request through the GitHub website.

Virtual development environment
-------------------------------

You can use Vagrant to start a virtual development environment, where all the necessary dependencies are already installed.

Please have a look at the Vagrantfile.

Pull Request Guidelines
-----------------------

Expand Down
16 changes: 16 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"

config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
end

config.vm.provision "shell", inline: <<-SHELL
sudo apt-get install python-software-properties -y
sudo add-apt-repository ppa:fkrull/deadsnakes -y
sudo apt-get update
sudo apt-get install -y build-essential libxslt1-dev libxml2-dev python-dev python3-dev libz-dev python3.3 python3.4 python3.3-dev python3.4-dev python-sphinx
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
SHELL
end

0 comments on commit b551180

Please sign in to comment.