{"id":15090894,"url":"https://github.com/capmousse/nagrant","last_synced_at":"2025-10-06T08:31:46.244Z","repository":{"id":57307451,"uuid":"78864702","full_name":"CapMousse/Nagrant","owner":"CapMousse","description":"Preconfigured vagrant box for nodejs apps in a minute, with minimal configuration","archived":true,"fork":false,"pushed_at":"2017-09-30T13:52:55.000Z","size":19,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T15:04:34.558Z","etag":null,"topics":["nodejs","vagrant"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/CapMousse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-13T16:08:46.000Z","updated_at":"2022-12-20T08:39:53.000Z","dependencies_parsed_at":"2022-08-31T04:52:43.252Z","dependency_job_id":null,"html_url":"https://github.com/CapMousse/Nagrant","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CapMousse%2FNagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CapMousse%2FNagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CapMousse%2FNagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CapMousse%2FNagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CapMousse","download_url":"https://codeload.github.com/CapMousse/Nagrant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235515424,"owners_count":19002481,"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":["nodejs","vagrant"],"created_at":"2024-09-25T10:34:34.316Z","updated_at":"2025-10-06T08:31:40.739Z","avatar_url":"https://github.com/CapMousse.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nagrant\n[![Stable V1.1.0](https://img.shields.io/badge/stable-v1.1.0-blue.svg)](https://www.npmjs.com/package/nagrant)\n![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)\n\n## Intro\nNagrant is a completely disposable pre-package vagrant box that provide you a simple development environment to create nodejs servers without requiring your to install anything (except nodejs and vagrant). Box can be created an launched in a minutes, with a minimal configuration !\n\nNagrant can run on Linux, Windows and Mac and include Nodejs v8, MongoDB 3.4, MySQL and Redis. More will be added.\n\n## How to use\n\nYou can either instal Nagrant as a global or local package.\n- global : `nagrant make`\n- local : `$(npm bin)/nagrant make`\n\n## Command list :\n\n\tCOMMANDS : \n\n\tmake --force --example --after\tcreate nagrant box\n\thelp \u003ccommand\u003e                \tShow help\n\n\tARGUMENTS : \n\n\t--force                       \tForce rewrite of Nagrant files\n\t--example                     \tInclude creation of Nagrant.yml.example file\n\t--after                       \tInclude creation of after script\n\n\tOPTIONS : \n\n\t--quiet                      \t\tQuiet mode\n\t-v, --verbose                \t\tVerbose mode\n\n\n## Requirements\n\nBefore using Nagrant, you must install Vagrant and any supported virtualization software (Virtualbox, VMWare or Parallels).\n\n## Node\n\nTo add any node instance to the vagran box, you can edit the `node` property of the `Nagrant.yml` file.\n\n\tnode:\n\t  - dir: /home/vagrant/node/\n\t    script: index.js\n\nTo send parameters to your node instance, you can use the `params` property. Any property will be set as environment variable reachable with `process.env`.\n\n\tnode:\n\t  - dir: /home/vagrant/node/\n\t    script: index.js\n\t    params:\n\t   \t  - PORT: 8080\n\t   \t  - MONGODB_NAME: testproject\n\n\n## Folders\n\nTo add any shared folders to the vagrant box, you can edit the `folders` property of the `Nagrant.yml` file.\n\n\tfolders:\n\t  - map: ~/Directory\n\t    to: /home/vagrant/Directory\n\n## Ports\n\nThis is a list of default ports fowarded to your Nagrant env:\n\n- HTTP: 8000 → 80\n- HTTPS: 44300 → 443\n- MySQL: 33060 → 3306\n- MongoDB: 27047 → 27017\n- Redis: 63790 → 6379\n\n**Fowarding additional pots**\n\n\tports:\n\t  - from: 8080\n\t    to: 80\n\t  - from: 443\n\t    to: 44300\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapmousse%2Fnagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapmousse%2Fnagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapmousse%2Fnagrant/lists"}