Skip to content

Instantly share code, notes, and snippets.

@cavearr
Last active January 16, 2019 08:42
Show Gist options
  • Save cavearr/f47e059425a375abb067e905d2caa8b1 to your computer and use it in GitHub Desktop.
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)
#/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