Fix broken filtering | fix photo attendance | add vagrant development environment

This commit is contained in:
Thilina Pituwala
2020-06-10 02:03:44 +02:00
parent 61ef77a31f
commit c65bdbbfb3
8 changed files with 163 additions and 44 deletions

25
Vagrantfile vendored Normal file
View File

@@ -0,0 +1,25 @@
Vagrant.configure("2") do |config|
config.vm.box = "icehrm/icehrm"
config.vm.box_version = "1.0.0"
config.vm.network "private_network", ip: "192.168.10.12"
config.vm.synced_folder ".", "/vagrant", type: "nfs"
config.vm.synced_folder "./deployment/vagrant/sites-available", "/etc/nginx/sites-enabled", type: "nfs"
config.vm.synced_folder "./deployment/vagrant/ssl", "/etc/nginx/ssl", type: "nfs"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
vb.cpus = "2"
vb.name = "icehrm-os.test"
end
config.vm.provision "shell", inline: <<-SHELL
sudo service nginx restart
SHELL
config.vm.hostname = "icehrm.test"
config.hostsupdater.aliases = [
"icehrm.test"
]
end