Last active
January 22, 2022 07:04
-
-
Save bspavel/ce3b52befc88400fbcde1c32fbe1a976 to your computer and use it in GitHub Desktop.
the installer of Habitica on the raspberry pi
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
#!/bin/bash | |
#http://habitica.wikia.com/wiki/Setting_up_Habitica_Locally | |
#https://github.com/FreeCodeCamp/FreeCodeCamp/issues/6336 | |
#https://github.com/Medium/phantomjs/issues/730 | |
#https://github.com/pattern-lab/edition-node-gulp/issues/61 | |
#https://stackoverflow.com/questions/47371904/e-unable-to-locate-package-npm | |
#https://askubuntu.com/questions/422975/e-package-python-software-properties-has-no-installation-candidate | |
#if [ "$(whoami)" != "root" ]; then | |
# echo "Run script as ROOT please. (sudo !!!)" | |
# exit | |
#fi | |
#update and install build-essential | |
#apt-get update && sudo apt-get upgrade | |
#apt-get install -y mc htop vim git curl build-essential | |
#apt-get install software-properties-common | |
#curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
#node.js | |
#apt-get update | |
#apt-get -y install nodejs | |
#node -v | |
#apt-get -y install npm | |
#npm -v | |
#npm install -g npm@5 | |
#npm install -g mocha node-pre-gyp | |
#mongodb | |
#apt-get update | |
#apt-get install -y mongodb | |
#node -v && npm -v && mongod --version && systemctl status mongod | |
#habitica | |
#apt-get install -y graphicsmagick | |
#apt-get install -y pkg-config libcairo2-dev libjpeg-dev | |
#apt-get install -y libkrb5-dev | |
#apt-get install -y xvfb | |
#apt-get install -y bzip2 | |
#cd /opt/ | |
#git clone https://github.com/HabitRPG/habitica.git | |
#cd /opt/habitica/ | |
#cp config.json.example config.json | |
#chown pi:pi -R /opt/habitica/ | |
#npm install [email protected] --ignore-scripts | |
#sudo npm install -g selenium-server | |
#selenium & | |
#npm install node-rdkafka | |
#npm uninstall -g gulp | |
#npm uninstall gulp | |
#npm install -g [email protected] | |
#npm install "gulpjs/gulp#4.0" | |
#gulp -v | |
#npm install -g gulp-cli | |
#gulp -v | |
#echo "npm install" | |
#echo "gulp build" | |
#echo "npm start" | |
#npm install | |
#gulp build | |
#npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment