forked from mami-project/pathspider
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
24 lines (20 loc) · 735 Bytes
/
Vagrantfile
File metadata and controls
24 lines (20 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- mode: ruby -*-
# vi: set ft=ruby :
$setup_pathspider = <<SCRIPT
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y python3-libtrace python3-sphinx python3-straight.plugin python3-setuptools pylint3 python3-pep8 python3-pyroute2 python3-pip unzip python3-nose
apt-get build-dep -y python3-pycurl
pip3 install 'pycurl>=7.43.0.1'
cd /home/vagrant/pathspider
pip3 install -r requirements_dev.txt
python3 setup.py develop
SCRIPT
Vagrant.configure("2") do |config|
# Use Debian buster
config.vm.box = "debian/testing64"
config.vm.define "spider" do |spider|
spider.vm.synced_folder ".", "/home/vagrant/pathspider", type: "rsync"
spider.vm.provision :shell, :inline => $setup_pathspider
end
end