This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.network "private_network", ip: "192.168.33.11" | |
config.vm.network :forwarded_port, guest: 8983, host: 8983 | |
# Memory and CPU cores | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 1024 | |
v.cpus = 2 | |
end | |
config.vm.provision "shell", inline: <<-SHELL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Modal Script */ | |
jQuery(function($) {$(document).ready(function() { | |
/* Modal windows */ | |
$.fn.thedialog = function(settings) { | |
// Options | |
var o = $.extend({ | |
title: 'h1,h2,h3,h4,h5,h6,legend,label,p', | |
focus: 'a,input,button,select,textarea,[tabindex]', | |
buttons: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/focal64" | |
config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.synced_folder "~/Documents/Sites", "/var/www/html", mount_options: ["dmode=777", "fmode=777"] | |
config.vm.synced_folder "~/vagrant-localdev/db-details", "/var/www/db-details" | |
config.vm.synced_folder "~/vagrant-localdev/configs", "/etc/apache2/sites-enabled" | |
config.vm.synced_folder "~/vagrant-localdev/logs", "/var/www/logs" | |
config.vm.synced_folder "~/vagrant-localdev/scripts", "/home/vagrant/scripts" | |
config.vm.synced_folder "~/Documents/Transfer", "/home/vagrant/transfer" | |
# Plenty of memory and CPU cores |