mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-15 12:07:43 +00:00
Removes custom bower directories
Updates Vagrantfile with correct symlink configuration option Switches bower/grunt in postinstall script to use the globals Changes phantomjs to an npm package install adds --no-bin-link to npm install
This commit is contained in:
parent
db97c74033
commit
1c317b01b4
4 changed files with 8 additions and 10 deletions
7
.bowerrc
7
.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"
|
||||
}
|
||||
|
|
|
|||
3
Vagrantfile
vendored
3
Vagrantfile
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue