sudo apt-get update
sudo apt-get install git nodejs npm ruby1.9.1 -y
~~sudo ln -s nodejs /usr/bin/node~~
sudo npm config set registry http://registry.npmjs.org/
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
sudo npm install npm grunt-cli forever -g
sudo gem install bundler
This file contains hidden or 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 | |
V30=`grep "3.0" /etc/issue` | |
V31=`grep "3.1" /etc/issue` | |
V4=`grep "4." /etc/issue` | |
V5=`grep "5." /etc/issue` | |
V6=`grep "6." /etc/issue` | |
UPDATE_SOURCES=1 | |
if [ "$V30" != "" ]; then |
This file contains hidden or 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 | |
# Test that domxml is installed | |
php -r "domxml_version();" > /dev/null 2>&1 | |
[ $? -eq 0 ] || echo -e "\a#### Error: php4-domxml not loaded ####" | |
# Test that rsync is installed | |
rsync -h > /dev/null 2>&1 | |
[ $? -eq 0 ] || echo -e "\a#### Error: rsync not installed ####" |
This file contains hidden or 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 | |
sshPort="40000" | |
shellUser=`whoami` | |
export homeDir="/home/$shellUser" | |
export baseDir="$homeDir/server-setup" | |
addToRepo() { | |
file=$1 |
This file contains hidden or 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
Hello. World! |
This file contains hidden or 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
$ grunt server | |
Running "clean:build" (clean) task | |
Cleaning "tmp"...OK | |
Running "lock" task | |
Running "concurrent:debug" (concurrent) task | |
Running "emberTemplates:debug" (emberTemplates) task | |
File "tmp/public/assets/templates.js" created. |
This file contains hidden or 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
#!upstart | |
# | |
# An example upstart script for running a Node.js process as a service | |
# using Forever as the process monitor. For more configuration options | |
# associated with Forever, see: https://github.com/nodejitsu/forever | |
# | |
# You will need to set the environment variables noted below to conform to | |
# your use case, and should change the description. | |
# | |
description "Example upstart script for a Node.js process" |
This file contains hidden or 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
module.exports = function(grunt) { | |
// To support Coffeescript, SASS, LESS and others, just install | |
// the appropriate grunt package and it will be automatically included | |
// in the build process: | |
// | |
// * for Coffeescript, run `npm install --save-dev grunt-contrib-coffee` | |
// | |
// * for SASS (SCSS only), run `npm install --save-dev grunt-sass` | |
// * for SCSS/SASS support (may be slower), run | |
// `npm install --save-dev grunt-contrib-sass` |
This file contains hidden or 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
import api from 'mn/utils/api'; | |
import {moduleFor, test} from 'mn/tests/helpers/module_for'; | |
var App, sandbox; | |
moduleFor('controller:login', 'Acceptances - Login', { | |
setup: function() { | |
App = startApp(); | |
sandbox = sinon.sandbox.create(); | |
}, |
This file contains hidden or 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
info: Welcome to Nodejitsu aexmachina | |
info: jitsu v0.13.9, node v0.10.24 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in node index.js | |
info: Creating snapshot 0.0.1-1 | |
info Uploading: [=============================] 100% | |
error: Error running command deploy | |
error: npm exited with code 1 | |
error: npm installation failed, please double check your package.json dependencies |
OlderNewer