Skip to content

Commit

Permalink
feat(app): Install missing npm packages
Browse files Browse the repository at this point in the history
Fixes #5, #11, #12
  • Loading branch information
thaiat committed Jan 26, 2015
1 parent 9dfef80 commit 34081d6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 95 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@
This repo contains a simple bash script that installs the dev tools for a mac.

## Prerequisites
* Make sure you have `Xcode` installed
* Make sure you have `zsh` or install it
* Make sure `zsh is the default shell
* Make sure you have `zsh`
* Make sure `zsh` is the default shell

```bash
which zsh # this will get you the path of zsh /bin/zsh (if it is different adjust the change command with correct path)
sudo dscl
change Local/Default/Users/root UserShell /bin/bash /bin/zsh
exit
```


* Restart the computer
* Install oh-my-zsh
```bash
curl -L http://install.ohmyzsh.sh | sh
```
The installation might stop if XCode is not installed. Once XCode has completed, re-run the command

## Installation
To install the package run the following command:
Expand Down
7 changes: 7 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ npm install -g watchify
npm install -g nodemon
npm install -g node-inspector
npm install -g npm-check-updates
npm install -g cordova
npm install -g phonegap
npm install -g ionic
echo_title "END INSTALLING NPM GLOBAL PACKAGES"
############ NPM ############

Expand All @@ -207,4 +210,8 @@ echo_color "* Seti_UI" $color_cyan

############ SUBLIME PACKAGE ############

############ GIT ALIASES ############
curl -L https://raw.githubusercontent.com/thaiat/generator-sublime/master/templates/app/bin/git-config.sh | sh
############# GIT ALIASES ############

brew cleanup
90 changes: 0 additions & 90 deletions install_test.sh

This file was deleted.

4 changes: 4 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ check_file "$app_folder/Dropbox.app" # check Dropbox software
check_file "$app_folder/Skype.app" # check Skype software
check_file "$app_folder/VirtualBox.app" # check VirtualBox software
check_file "$app_folder/Slack.app" # check Slack software
check_file "$app_folder/Google Chrome.app" # check Google Chrome software

check_file "$(which npm)" "npm"
check_file "$(which jshint)" "jsint"
Expand All @@ -69,6 +70,9 @@ check_file "$(which watchify)" "watchify"
check_file "$(which nodemon)" "nodemon"
check_file "$(which node-inspector)" "node-inspector"
check_file "$(which npm-check-updates)" "npm-check-updates"
check_file "$(which cordova)" "cordova"
check_file "$(which phonegap)" "phonegap"
check_file "$(which ionic)" "ionic"
check_file "$(which boot2docker)" "boot2docker"

echo_color "End test" $color_yellow

0 comments on commit 34081d6

Please sign in to comment.