Skip to content

Instantly share code, notes, and snippets.

@59naga
Last active August 29, 2015 14:06
Show Gist options
  • Save 59naga/b71ac48b4e87f36ddbc1 to your computer and use it in GitHub Desktop.
Save 59naga/b71ac48b4e87f36ddbc1 to your computer and use it in GitHub Desktop.
VagrantでMeteor.js + TDD(Laika)環境を揃える ref: http://qiita.com/59naga/items/6ab396b8e0b254cac690
$ mkdir earth && cd earth
$ vagrant init cbumgard/nodejs
$ vagrant up
$ vagrant ssh
ssh $ node -v
> v0.10.26
ssh $ npm -v
> 1.4.3
ssh $ git --version
> git version 1.7.9.5
ssh $ npm -g ls
> /usr/lib
> └─- npm@1.4.3
ssh $ exit
$ vagrant ssh
ssh $ curl https://install.meteor.com/ | sh
ssh $ meteor --version
> Meteor 0.9.1.1
ssh $ sudo npm install -g laika
ssh $ laika --version
> 0.3.9
ssh $ mkdir tmp && cd tmp
ssh $ wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-i686.tar.bz2
ssh $ bzip2 -cd phantomjs-1.9.0-linux-i686.tar.bz2 | tar xvf -
ssh $ sudo mv phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/local/bin/
ssh $ cd ../
ssh $ rm -rf tmp
ssh $ phantomjs -v
> 1.9.0
ssh $ mongod --version
> db version v2.4.4
ssh $ sudo mkdir -p /data/db/
ssh $ sudo chmod 777 /data/db/
ssh $ cd /vagrant
ssh $ git clone https://github.com/arunoda/hello-laika.git
ssh $ cd hello-laika
ssh $ laika
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment