{"id":22416378,"url":"https://github.com/cilindrox/node-vagrant","last_synced_at":"2025-08-01T01:31:06.795Z","repository":{"id":25720725,"uuid":"29157686","full_name":"cilindrox/node-vagrant","owner":"cilindrox","description":"A node-flavored vagrant box running trusty64","archived":false,"fork":false,"pushed_at":"2015-09-28T13:13:32.000Z","size":191,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T01:05:50.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cilindrox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-12T21:24:12.000Z","updated_at":"2024-01-04T15:46:07.000Z","dependencies_parsed_at":"2022-08-23T10:50:57.016Z","dependency_job_id":null,"html_url":"https://github.com/cilindrox/node-vagrant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cilindrox%2Fnode-vagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cilindrox%2Fnode-vagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cilindrox%2Fnode-vagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cilindrox%2Fnode-vagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cilindrox","download_url":"https://codeload.github.com/cilindrox/node-vagrant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228321223,"owners_count":17901604,"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":[],"created_at":"2024-12-05T15:16:05.128Z","updated_at":"2024-12-05T15:16:05.847Z","avatar_url":"https://github.com/cilindrox.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-vagrant\n\n![zelda-nyan](http://i1.kym-cdn.com/photos/images/original/000/402/521/a01.png \"something something\")\n\nIt's dangerous to go alone! Here's a reliable Vagrant setup to help you on your Node adventure.\n\nThis uses an Ubuntu 14.04 LTS 64-bit box with sugar, spice and everything that's nice.\n\n## Usage\n\n    vagrant up\n    vagrant ssh\n\n\n## Setup\n\nMake sure you have installed [VirtualBox] and at least [Vagrant] `1.7.2`.\n\nInstalling a Vagrant box (only required if the host lacks the image). Nothing fancy:\n\n    $ vagrant box add ubuntu/trusty64\n\n**Optional**: For future proofing the machine against Virtualbox updates, install the plugin.\n\n    $ vagrant plugin install vagrant-vbguest\n\n\n### Provisioning\n\nThe `scripts` folder contains all the required material, during the provisioning process, `bootstrap.sh` will be called, which in turn will execute the following:\n\n  1. `install_build_tools.sh` - updates and installs common required deps, such as `git`, `vim` and `build-essential`.\n  2. `install_*` - installs tools such as mongoDB and PostgreSQL\n  3. Installs npm packages such as nodemon, bower and ember-cli.\n\n\n### Misc\n\nPorts `1337, 3000, 4200 and 5000` are forwarded to the host, so when you type [http://localhost:3000](http://localhost:3000) on your browser, it points to your VM.\n\nSeeing as we don't want to run `sudo npm install` [each time](http://stackoverflow.com/a/27429191/992453) we use node, this box uses an unprivileged installation of [nvm] to run node.\nAs such, `install_nvm.sh` gets called as the last provisioning step by the non-root user.\n\n\n#### Start VM and login\n\n    $ vagrant up\n    $ vagrant ssh\n\n\n#### Reloading changes\n\n    vagrant reload  # restarts the VM, skipping the initial import step.\n    vagrant reload --provision  # the flag instructs Vagrant to run the provisioners\n\n\n#### Suspending/halting the machine\n\n    vagrant suspend # save the current running state of the machine and stop it (dumps RAM contents to disk)\n    vargant halt    # gracefully shut down the guest OS and power down the guest machine\n\n\n#### Nuking your box\n\n    vagrant destroy # will remove all traces of the guest machine from your system\n\nRemember you can call `vagrant up` at any time and Vagrant will recreate your work environment.\n\n\n[VirtualBox]: https://www.virtualbox.org/wiki/Downloads\n[Vagrant]: http://www.vagrantup.com/downloads.html\n[nvm]: https://github.com/creationix/nvm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcilindrox%2Fnode-vagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcilindrox%2Fnode-vagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcilindrox%2Fnode-vagrant/lists"}