install 1014 Bytes
Newer Older
1 2
#!/bin/sh

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#
# Make sure coffee-script is installed.
#
if hash coffee 2>/dev/null; then
	echo "Global module coffee-script already installed, skipping installation.\n"
else
	npm install coffee-script@1.10.0 -g
fi

#
# Make sure n is installed.
#
if hash n 2>/dev/null; then
	echo "Global module n already installed, skipping installation.\n"
else
	npm install -g n@2.0.2
fi

# Set Node version to the latest stable version.

n 4.2.1

25 26 27 28
npm install
touch aws-keys.json
echo '{"key":"", "secret": ""}' > aws-keys.json
echo 'Remember to update aws-key.json with your actual keys if you want to deploy.'
29
# git clone git@source.ind.ie:project/node-kit-0-8-0.git node_modules/node-kit
30 31
git clone git@source.ind.ie:project/indie-style-core.git source/assets/stylus/indie-style-core
git clone git@source.ind.ie:project/responsive-pixels.git source/assets/stylus/indie-style-core/responsive-pixels/
32 33
touch ssh-user
touch ssh-public-key-path
34
echo 'Done. Project installed for development.'
35
echo './dev to start the dev server.'