Added Vagrantfile

This commit is contained in:
Izaron 2016-12-13 14:32:35 +03:00
parent 943bb576a9
commit 161b98ef43
2 changed files with 20 additions and 1 deletions

5
.gitignore vendored
View File

@ -34,4 +34,7 @@ windows/Debug-OCR/**
windows/x64/**
# Ctags
*.tags*
*.tags*
# Vagrant
.vagrant/

16
Vagrantfile vendored Normal file
View File

@ -0,0 +1,16 @@
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"
# Uncomment this line if you want to sync other folders
# config.vm.synced_folder "/home/user/video", "/video"
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get install -y gcc
sudo apt-get install -y libcurl4-gnutls-dev
sudo apt-get install -y tesseract-ocr
sudo apt-get install -y tesseract-ocr-dev
sudo apt-get install -y libleptonica-dev
SHELL
end