Created
May 3, 2017 20:24
-
-
Save joeSaad/9c4f81e56442596542aa4acdabe8363e to your computer and use it in GitHub Desktop.
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 | |
# for dealing with all github repos related to npm packages, you basically clone into a directory you name | |
# install all related npm packages, open your favorite editor for that directory, and run your npm start or whatevever running script you had | |
# either npm start or npm run dev etc... | |
git clone $1 $2 | |
cd $2 | |
npm install | |
sublime . | |
if [ -z "$3" ] | |
then | |
npm start | |
else | |
$3 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment