{"id":13658693,"url":"https://github.com/geerlingguy/nodejs-dev-vm","last_synced_at":"2025-04-24T11:32:40.116Z","repository":{"id":13591799,"uuid":"16284602","full_name":"geerlingguy/nodejs-dev-vm","owner":"geerlingguy","description":"DEPRECATED Simple Node.js Development VM using Vagrant + VirtualBox + Ansible","archived":true,"fork":false,"pushed_at":"2016-03-14T15:29:31.000Z","size":8,"stargazers_count":28,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-10T12:42:39.755Z","etag":null,"topics":["ansible","javascript","node","node-js","nodejs","vagrant","virtualbox","vms"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geerlingguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-27T16:22:08.000Z","updated_at":"2024-05-23T16:16:17.000Z","dependencies_parsed_at":"2022-07-21T13:02:26.027Z","dependency_job_id":null,"html_url":"https://github.com/geerlingguy/nodejs-dev-vm","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fnodejs-dev-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fnodejs-dev-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fnodejs-dev-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fnodejs-dev-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/nodejs-dev-vm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250618608,"owners_count":21460121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","javascript","node","node-js","nodejs","vagrant","virtualbox","vms"],"created_at":"2024-08-02T05:01:01.757Z","updated_at":"2025-04-24T11:32:39.820Z","avatar_url":"https://github.com/geerlingguy.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Simple Node.js Development VM\n\nThis project aims to make spinning up a simple local Node.js test/development environment incredibly quick and easy, and to introduce new developers to the wonderful world of Node.js development on local virtual machines.\n\nIt will install the following on a CentOS 6.4 linux VM:\n\n  - Node.js (latest version in EPEL repository)\n  - Express\n  - A simple demonstration Node.js app\n\nIt should take 5-10 minutes to build or rebuild the VM from scratch on a decent broadband connection.\n\n## Quick Start Guide\n\n### 1 - Install dependencies (VirtualBox, Vagrant, Ansible)\n\n  1. Download and install [VirtualBox](https://www.virtualbox.org/wiki/Downloads).\n  2. Download and install [Vagrant](http://www.vagrantup.com/downloads.html).\n  3. [Mac/Linux only] Install [Ansible](http://docs.ansible.com/intro_installation.html).\n\nNote for Windows users: *This guide assumes you're on a Mac or Linux host. Windows support may be added when I get a little more time; the main difference is Ansible needs to be bootstrapped from within the VM after it's created. See [JJG-Ansible-Windows](https://github.com/geerlingguy/JJG-Ansible-Windows) for more information.*\n\n### 2 - Build the Virtual Machine\n\n  1. Download this project and put it wherever you want.\n  2. Open Terminal, cd to this directory (containing the `Vagrantfile` and this REAMDE file).\n  3. Type in `vagrant up`, and let Vagrant do its magic.\n\nNote: *If there are any errors during the course of running `vagrant up`, and it drops you back to your command prompt, just run `vagrant provision` to continue building the VM from where you left off. If there are still errors after doing this a few times, post an issue to this project's issue queue on GitHub with the error.*\n\n### 3 - Configure your host machine to access the VM.\n\n  1. [Edit your hosts file](http://www.rackspace.com/knowledge_center/article/how-do-i-modify-my-hosts-file), adding the line `192.168.55.55  nodejs.dev` so you can connect to the VM.\n  2. Open your browser and access [http://nodejs.dev/](http://nodejs.dev/).\n\n## Notes\n\n  - To shut down the virtual machine, enter `vagrant halt` in the Terminal in the same folder that has the `Vagrantfile`. To destroy it completely (if you want to save a little disk space, or want to rebuild it from scratch with `vagrant up` again), type in `vagrant destroy`.\n  - Find out more about local development with Vagrant + VirtualBox + Ansible in this presentation: [Local Development Environments - Vagrant, VirtualBox and Ansible](http://www.slideshare.net/geerlingguy/local-development-on-virtual-machines-vagrant-virtualbox-and-ansible).\n  - Learn about how Ansible can accelerate your ability to innovate and manage your infrastructure by reading [Ansible for DevOps](http://www.ansiblefordevops.com/).\n\n## About the Author\n\n[Jeff Geerling](http://jeffgeerling.com/) created this project in 2014 for easier local Node.js development. This project, and others like it, are also featured as examples in Jeff's book, [Ansible for DevOps](http://www.ansiblefordevops.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fnodejs-dev-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fnodejs-dev-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fnodejs-dev-vm/lists"}