mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
make experimental changes to try to make vagrant install work better
This commit is contained in:
17
vagrant.sh
17
vagrant.sh
@@ -27,9 +27,24 @@ function autostart_habitrpg {
|
|||||||
echo Setting up HabitRPG...
|
echo Setting up HabitRPG...
|
||||||
echo cd /vagrant >> /home/vagrant/.bashrc
|
echo cd /vagrant >> /home/vagrant/.bashrc
|
||||||
|
|
||||||
|
# Prevent warnings: "dpkg-preconfigure: unable to re-open stdin ..."
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
echo Updating repositories...
|
echo Updating repositories...
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
|
|
||||||
|
echo Installing Unix build tools - needed for node-gyp to use make...
|
||||||
|
apt-get install -qq build-essential
|
||||||
|
|
||||||
|
echo Installing GraphicsMagick - provides gm and convert...
|
||||||
|
apt-get install -qq graphicsmagick
|
||||||
|
|
||||||
|
echo Installing phantomjs and dependency...
|
||||||
|
apt-get install -qq phantomjs libicu48
|
||||||
|
|
||||||
|
echo Installing requirements for grunt-spritesmith...
|
||||||
|
apt-get install -qq pkg-config libcairo2-dev libjpeg-dev
|
||||||
|
|
||||||
echo Installing Mongodb...
|
echo Installing Mongodb...
|
||||||
apt-get install -qq mongodb
|
apt-get install -qq mongodb
|
||||||
|
|
||||||
@@ -54,7 +69,7 @@ echo Installing HabitRPG
|
|||||||
npm install
|
npm install
|
||||||
|
|
||||||
echo Installing Bower packages
|
echo Installing Bower packages
|
||||||
sudo -u vagrant bower install -f
|
sudo -H -u vagrant bower --config.interactive=false install -f
|
||||||
|
|
||||||
echo Seeding Mongodb...
|
echo Seeding Mongodb...
|
||||||
node ./src/seed.js
|
node ./src/seed.js
|
||||||
|
|||||||
Reference in New Issue
Block a user