Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
.storage.json
node_modules
*.swp
19 changes: 12 additions & 7 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ curl -L https://github.com/daftlabs/dl-dev-profile/archive/master.tar.gz | tar -
cd ${HERE}
grep -q -F 'source ~/.daftlabs/bash_profile.sh' ~/.bash_profile || echo 'source ~/.daftlabs/bash_profile.sh' >> ~/.bash_profile

#install latest node and npm
rm -rf /usr/local/lib/node_modules
brew uninstall node
brew install node
brew link --overwrite node
echo "Install Node? [y/n]"
read install_node

#install dependencies
npm install
if [ $install_node == "y" ]; then
#install latest node and npm
rm -rf /usr/local/lib/node_modules
brew uninstall node
brew install node
brew link --overwrite node

#install dependencies
npm install
fi

#misc
if [ ! -e ${HERE}/.storage.json ]; then
Expand Down