All Projects → geerlingguy → nodejs-dev-vm

geerlingguy / nodejs-dev-vm

Licence: other
DEPRECATED Simple Node.js Development VM using Vagrant + VirtualBox + Ansible

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nodejs-dev-vm

ansible-role-test-vms
DEPRECATED - A Vagrant configuration to test Ansible roles against a variety of Linux distributions.
Stars: ✭ 42 (+68%)
Mutual labels:  vagrant, virtualbox, vms
Packer Build
Packer Automated VM Image and Vagrant Box Builds
Stars: ✭ 199 (+696%)
Mutual labels:  vagrant, virtualbox
hassio-vagrant
Vagrant box running Hass.io / Home Assistant
Stars: ✭ 42 (+68%)
Mutual labels:  vagrant, virtualbox
Packer Centos 7
This build has been moved - see README.md
Stars: ✭ 223 (+792%)
Mutual labels:  vagrant, virtualbox
Nixbox
NixOS Vagrant boxes [[email protected]]
Stars: ✭ 189 (+656%)
Mutual labels:  vagrant, virtualbox
Trellis
WordPress LEMP stack with PHP 8.0, Composer, WP-CLI and more
Stars: ✭ 2,295 (+9080%)
Mutual labels:  vagrant, virtualbox
vagrant-boot2docker-swarm
A multi-machine Docker swarm Vagrant environment
Stars: ✭ 16 (-36%)
Mutual labels:  vagrant, virtualbox
Kubernetes Vagrant Centos Cluster
Setting up a distributed Kubernetes cluster along with Istio service mesh locally with Vagrant and VirtualBox, only PoC or Demo use.
Stars: ✭ 1,750 (+6900%)
Mutual labels:  vagrant, virtualbox
Vagrantboxes
Handcrafted Arch Linux Vagrant base box with ❤️
Stars: ✭ 242 (+868%)
Mutual labels:  vagrant, virtualbox
rhino
Agile Sandbox for analyzing Windows, Linux and macOS malware and execution behaviors
Stars: ✭ 49 (+96%)
Mutual labels:  virtualbox, vms
packer-centos
Create CentOS images for different hypervisors with Packer
Stars: ✭ 18 (-28%)
Mutual labels:  vagrant, virtualbox
Ansible Vault
🔑 Ansible role for Hashicorp Vault
Stars: ✭ 189 (+656%)
Mutual labels:  vagrant, virtualbox
Ansible Vagrant Examples
Ansible examples using Vagrant to deploy to local VMs.
Stars: ✭ 1,913 (+7552%)
Mutual labels:  vagrant, vms
Box
[DEPRECATED] Official, pre-packaged Vagrant Box
Stars: ✭ 197 (+688%)
Mutual labels:  vagrant, virtualbox
Arch Boxes
Arch-boxes provides automated builds of the Arch Linux releases for different providers and post-processors (read-only mirror)
Stars: ✭ 149 (+496%)
Mutual labels:  vagrant, virtualbox
Packer Templates
Scripts and Templates used for generating Vagrant images
Stars: ✭ 219 (+776%)
Mutual labels:  vagrant, virtualbox
development-environment
A development environment for Java, Python, Node.js and Go built using Vagrant
Stars: ✭ 50 (+100%)
Mutual labels:  vagrant, virtualbox
Rhcsa8env
This is a RHCSA8 study environment built with Vagrant/Ansible
Stars: ✭ 108 (+332%)
Mutual labels:  vagrant, virtualbox
Vermin
The smart virtual machines manager. A modern CLI for Vagrant Boxes.
Stars: ✭ 110 (+340%)
Mutual labels:  vagrant, virtualbox
Packer
Packer helpers and templates for Docker, IIS, SQL Server and Visual Studio on Windows and Ubuntu
Stars: ✭ 242 (+868%)
Mutual labels:  vagrant, virtualbox

Simple Node.js Development VM

This 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.

It will install the following on a CentOS 6.4 linux VM:

  • Node.js (latest version in EPEL repository)
  • Express
  • A simple demonstration Node.js app

It should take 5-10 minutes to build or rebuild the VM from scratch on a decent broadband connection.

Quick Start Guide

1 - Install dependencies (VirtualBox, Vagrant, Ansible)

  1. Download and install VirtualBox.
  2. Download and install Vagrant.
  3. [Mac/Linux only] Install Ansible.

Note 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 for more information.

2 - Build the Virtual Machine

  1. Download this project and put it wherever you want.
  2. Open Terminal, cd to this directory (containing the Vagrantfile and this REAMDE file).
  3. Type in vagrant up, and let Vagrant do its magic.

Note: 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.

3 - Configure your host machine to access the VM.

  1. Edit your hosts file, adding the line 192.168.55.55 nodejs.dev so you can connect to the VM.
  2. Open your browser and access http://nodejs.dev/.

Notes

  • 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.
  • Find out more about local development with Vagrant + VirtualBox + Ansible in this presentation: Local Development Environments - Vagrant, VirtualBox and Ansible.
  • Learn about how Ansible can accelerate your ability to innovate and manage your infrastructure by reading Ansible for DevOps.

About the Author

Jeff Geerling 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].