Last active
January 16, 2019 08:42
-
-
Save cavearr/f47e059425a375abb067e905d2caa8b1 to your computer and use it in GitHub Desktop.
Install icestudio and generate an install report (to help in finding install problems)
This file contains 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 | |
REPORTF="install-report.txt" | |
git clone https://github.com/FPGAwars/icestudio.git | |
cd icestudio | |
npm install extract-zip --save | |
echo > $REPORTF | |
npm install >> $REPORTF 2>&1 | |
echo >> $REPORTF | |
echo "----------------------------" >> $REPORTF | |
echo "LINUX VER" >> $REPORTF | |
echo "----------------------------" >> $REPORTF | |
cat /etc/lsb-release >> $REPORTF | |
uname -a >> $REPORTF 2>&1 | |
echo >> $REPORTF | |
echo "----------------------------" >> $REPORTF | |
echo "NODEJS" >> $REPORTF | |
echo "----------------------------" >> $REPORTF | |
echo "NPM: `npm -v`" >> $REPORTF 2>&1 | |
echo "NODE: `node -v`" >> $REPORTF 2>&1 | |
echo >>$REPORTF | |
npm list >> $REPORTF 2>&1 | |
echo >> $REPORTF | |
echo "----------------------------" >> $REPORTF | |
echo "START" >> $REPORTF | |
echo "----------------------------" >> $REPORTF | |
npm start >> $REPORTF 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment