Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kazu69/nodejs-develop-environment-with-itamae
NodeJs development environment with Itame
https://github.com/kazu69/nodejs-develop-environment-with-itamae
Last synced: 19 days ago
JSON representation
NodeJs development environment with Itame
- Host: GitHub
- URL: https://github.com/kazu69/nodejs-develop-environment-with-itamae
- Owner: kazu69
- Created: 2015-06-09T15:59:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-14T14:22:27.000Z (over 9 years ago)
- Last Synced: 2023-03-23T22:15:14.952Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## NodeJS Development Environment with Itamae
Build NodeJS development environment VM with [Itamae](https://github.com/itamae-kitchen/itamae).
This cookbook suport in Vagrant and Docker.
### Vagrant
If installed vagrant plugin [vagrant-itamae](https://github.com/chiastolite/vagrant-itamae) , possible constructed in the following.
```sh
vagrant upvagrant ssh
# installed nodejs versions
ndenv versions
```Use ssh
```sh
bundle itamae ssh --vagrant -h default -j nodes/vagrant.json cookbooks/base/node_build.rb
```### Dcoker
Build Dcoker environment.
```sh
# create container
bundle exec itamae docker cookbooks/base/node_build.rb --node-json=nodes/docker.json --image=IMAGE --no-tls-verify-peer# docker run
docker run -it ContainerID /bin/bash# installed nodejs versions
ndenv versions
```### Spec
```
bundle exec rake spec
```