This commit is contained in:
byte 2019-02-16 21:11:59 -05:00
parent 85f87cc280
commit 9425a3820b
3 changed files with 8 additions and 4 deletions

6
Vagrantfile vendored
View File

@ -18,7 +18,11 @@ Vagrant.configure('2') do |config|
node.vm.network :private_network, ip: '192.168.64.78'
end
config.vm.synced_folder '.', '/vagrant'
if Vagrant::Util::Platform.windows?
config.vm.synced_folder '.', '/vagrant', type: 'virtualbox'
else
config.vm.synced_folder '.', '/vagrant', type: 'nfs'
end
config.vm.provision 'shell', path: 'vagrant/install.sh'
end

View File

@ -66,8 +66,8 @@ sudo apt-get update
if ! install_packages \
build-essential automake libxml2-dev libxslt-dev yarn nginx ncurses-dev \
libreadline-dev flex bison ragel memcached libmemcached-dev git curl \
libcurl4-openssl-dev sendmail-bin sendmail nginx ssh ffmpeg \
mkvtoolnix cmake ffmpeg git postgresql-11 libcurl4-openssl-dev \
libcurl4-openssl-dev sendmail-bin sendmail nginx ssh libglib2.0-dev \
mkvtoolnix cmake ffmpeg git postgresql-11 libcurl4-openssl-dev ffmpeg \
libicu-dev libjpeg-progs libpq-dev libreadline-dev libxml2-dev \
nodejs optipng redis-server libvips-tools postgresql-server-dev-11; then
>&2 script_log "Installation of other dependencies failed, please see the errors above and re-run \`vagrant provision\`"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
script_log(){
script_log() {
echo -e "[setup.sh] >>> $@"
}