-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·23 lines (16 loc) · 1000 Bytes
/
setup.sh
File metadata and controls
executable file
·23 lines (16 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# echo node modules if they haven't already in their bashrc
export PATH=node_modules/.bin:${PATH}
echo "Installing SASS and COMPASS"
gem install sass compass rb-fsevent || (echo "FAILED: verify you have latest version of NPM and Ruby installed" && exit)
echo "Installing Required Node Packages for DEV environment (package.json)"
npm install || (echo "FAIL: Couldn't install node packages, try to get 'npm install' to work" && exit)
echo "Installing Yeoman"
npm install -g yo grunt grunt-exec bower || (echo "FAIL: Couldn't install yeoman, try to get 'npm install yo' to work" && exit)
echo "Grabbing remote packages (bower.json)"
bower install || (echo "FAIL: Could not succesfully grab css/js packages. 'bower install'" && exit)
echo ""
echo "'grunt server' to run the server locally with live reload etc!"
echo "'grunt build' to compile for distribution!"
echo ""
echo "NOTE: you may need to add 'export PATH=node_modules/.bin:\$PATH{}' to your bashrc for these commands to work"