{"id":18658707,"url":"https://github.com/mcellteam/mcell_vagrantfiles","last_synced_at":"2025-11-05T23:30:38.918Z","repository":{"id":152893647,"uuid":"43021093","full_name":"mcellteam/mcell_vagrantfiles","owner":"mcellteam","description":"A set of Vagrantfiles to quickly spin up VMs for MCell/CellBlender testing and development","archived":false,"fork":false,"pushed_at":"2018-02-05T23:02:29.000Z","size":128,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-12-27T15:28:26.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/mcellteam.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-23T19:06:35.000Z","updated_at":"2017-05-19T20:58:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"0536190c-992b-48de-b6fc-e16caf73d48a","html_url":"https://github.com/mcellteam/mcell_vagrantfiles","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/mcellteam%2Fmcell_vagrantfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcellteam%2Fmcell_vagrantfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcellteam%2Fmcell_vagrantfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcellteam%2Fmcell_vagrantfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcellteam","download_url":"https://codeload.github.com/mcellteam/mcell_vagrantfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239475962,"owners_count":19645041,"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-11-07T07:34:06.504Z","updated_at":"2025-11-05T23:30:38.820Z","avatar_url":"https://github.com/mcellteam.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Vagrantfiles for MCell/CellBlender Developement\n===========================================================================\n\nThese vagrant projects were created to be used with Vagrant 1.7 but may work with\nother versions as well.\n\nUbuntu Guest\n---------------------------------------------------------------------------\n\nSimply `cd` into `mcell_vagrantfiles/ubuntu14.04` or\n`mcell_vagrantfiles/ubuntu16.04` and type `vagrant up`.\n\nThe username and password are both `vagrant`. The desktop environment has to be\nstarted manually by typing `startx`. A desktop environment hasn't been added\nfor 16.04 yet.\n\nThis is a pretty standard setup aside from the fact that it's not running\nheadless, which is necessary for testing CellBlender. The provisioning will\nprobably take about 15 minutes or so to complete. Lastly, instead of Unity,\nthis version of Ubuntu is running xfce to keep things lightweight.\n\nWindows 7 Guest\n---------------------------------------------------------------------------\n\nRunning Windows with vagrant takes a bit more work initially, but it's fairly\npainless one you create the box.\n\n### Create Vagrant Box\n\nYou should hopefully only have to do this once, and then you can create as many\nVMs from it as you need. The box file can be created using packer,\npacker-windows, and a Windows 7 iso.\n\n- Install [packer](https://packer.io)\n- Clone [packer-windows](https://github.com/jczech/packer-windows) fork or the [original version](https://github.com/joefitzgerald/packer-windows)\n- Put Windows iso in `packer-windows/iso` directory\n- Change `iso_url` in `windows_7.json` to point to Windows iso location\n- Run `packer build windows_7.json`.\n  - This will take a while, especially the defrag step.\n\n### Add Vagrant box\n\nTo add a Windows box, you will need to run a command similar to this:\n\n    vagrant box add windows_7_virtualbox.box --name win7\n\n### Vagrant Usage\n\nIt makes use of the vagrant-reload plugin, which can be installed by running\nthis command:\n\n    vagrant plugin install vagrant-reload\n\nNow simply start the virtual machine for the first time, by issuing this\ncommand (from ./mcell_vagrantfiles/win7):\n\n    vagrant up\n\nThis will take some time to complete (~15-20 minutes) the first time you run\nit, since there is a lot of provisioning to do. You should probably let the\nmachine finish all of the provisioning before logging in. The VM will reboot a\ncouple time during the provisioning. Don't be alarmed by this. Once it's done,\nyou can log in to the machine by typing *vagrant* into the password field and\nhitting Enter.\n\nThere are a lot of vagrant tutorials out there, so I won't repeat all of them\nhere, but here are some basic commands which can be really useful:\n\n- `vagrant suspend` - Suspend the VM\n- `vagrant halt` - Shut down the VM\n- `vagrant destroy` - Destroy the VM, but leave the Vagrantfile and project files\n- `vagrant ssh` - This should work on Windows if the box was configured correctly\n\n### Provisions\n\nA number of provisions should be set up by the Vagrantfile, which will set up\npaths and install things like git. Many of these are installed via chocolatey,\nwhich is a third party package manager for Windows. Here is a list of things\nthat will be installed:\n\n- MCell\n- CellBlender\n- nutmeg\n- vim\n- cygwin\n- Mingw\n- git\n- chrome\n- 7zip\n- Blender\n- golang\n- python 2.7\n- python 3.4\n- chocolatey\n\n### Directories\n\nMost of the things of interest are stored in C:\\Users\\vagrant.\n\n- MCell repo - C:\\Users\\vagrant\\mcell\n- CellBlender repo - C:\\Users\\vagrant\\cellblender\n- nutmeg repo - C:\\Users\\vagrant\\nutmeg\n- Go Projects - C:\\Users\\vagrant\\Go\n- Binaries (just MCell for now) - C:\\Users\\vagrant\\bin\n- Shared directory with host machine - C:\\vagrant\n\n### Command Line in Windows (PowerShell)\n\nYou will likely want to use PowerShell when doing development/testing. To start\nPowerShell, click the circular Windows icon in the lower left hand corner, type\npowershell, and hit Enter. Once PowerShell starts, you might want to pin it to\nthe taskbar (right click on icon and select \"Pin this program to taskbar\"), so\nit's easier to start in the future. Here are a list of some of the commands\nwhich can be used in PowerShell.\n\n- `choco` - package manager\n- `vim` - text editor (should probably add sublime too)\n- `git`\n- `gcc`\n- `go`\n- various posix-like commands\n  - `ls`\n  - `cd`\n  - `mkdir`\n\n### Miscellaneous\n\nPut your .gitconfig in C:\\Users\\vagrant.\n\nThe profile.ps1 script in C:\\Users\\vagrant\\Documents\\WindowsPowerShell is\nsimilar to a .bashrc/.zshrc. For example, you could use it to make changes to\nyour path or add aliases. This file is executed every time you open a new\ninstance of PowerShell.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcellteam%2Fmcell_vagrantfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcellteam%2Fmcell_vagrantfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcellteam%2Fmcell_vagrantfiles/lists"}