diff --git a/.bowerrc b/.bowerrc index 3ffd231ea1..4a52096b99 100644 --- a/.bowerrc +++ b/.bowerrc @@ -1,8 +1,3 @@ { - "directory": "website/public/bower_components", - "storage" : { - "packages" : ".bower-cache", - "registry" : ".bower-registry" - }, - "tmp" : ".bower-tmp" + "directory": "website/public/bower_components" } diff --git a/Vagrantfile b/Vagrantfile index 113c688efc..c0fb32fe35 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -5,6 +5,9 @@ VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + config.vm.provider "virtualbox" do |v| + v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"] + end config.vm.box = "thepeopleseason/habitrpg" config.ssh.forward_agent = true diff --git a/package.json b/package.json index fc065889b9..4823011752 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "scripts": { "test": "./test/run_tests.sh", "start": "grunt run:dev", - "postinstall": "./node_modules/bower/bin/bower --config.interactive=false install -f; ./node_modules/.bin/grunt;", + "postinstall": "bower --config.interactive=false install -f; grunt;", "coverage": "COVERAGE=true mocha --require register-handlers.js --reporter html-cov > coverage.html; open coverage.html" }, "devDependencies": { diff --git a/vagrant.sh b/vagrant.sh index 814fa3091e..a61831097e 100644 --- a/vagrant.sh +++ b/vagrant.sh @@ -40,7 +40,7 @@ echo Installing GraphicsMagick - provides gm and convert... apt-get install -qq graphicsmagick echo Installing phantomjs and dependency... -apt-get install -qq phantomjs libicu48 +apt-get install -qq libicu48 echo Installing requirements for grunt-spritesmith... apt-get install -qq pkg-config libcairo2-dev libjpeg-dev @@ -63,10 +63,10 @@ apt-get install -qq nodejs cd /vagrant echo Installing grunt/bower... -npm install -g grunt-cli bower +npm install -g grunt-cli bower phantomjs echo Installing HabitRPG -npm install +npm install --no-bin-link echo Installing Bower packages sudo -H -u vagrant bower --config.interactive=false install -f