Last active
August 29, 2015 14:06
-
-
Save 59naga/b71ac48b4e87f36ddbc1 to your computer and use it in GitHub Desktop.
VagrantでMeteor.js + TDD(Laika)環境を揃える ref: http://qiita.com/59naga/items/6ab396b8e0b254cac690
This file contains 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
$ mkdir earth && cd earth | |
$ vagrant init cbumgard/nodejs | |
$ vagrant up | |
$ vagrant ssh |
This file contains 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
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 |
This file contains 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
$ vagrant ssh |
This file contains 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
ssh $ curl https://install.meteor.com/ | sh | |
ssh $ meteor --version | |
> Meteor 0.9.1.1 |
This file contains 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
ssh $ sudo npm install -g laika | |
ssh $ laika --version | |
> 0.3.9 |
This file contains 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
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 |
This file contains 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
ssh $ mongod --version | |
> db version v2.4.4 | |
ssh $ sudo mkdir -p /data/db/ | |
ssh $ sudo chmod 777 /data/db/ |
This file contains 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
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