https://github.com/jbkahn/dev-box
My Vagrantfile and Ansible playbook for my dev VM
https://github.com/jbkahn/dev-box
Last synced: about 1 year ago
JSON representation
My Vagrantfile and Ansible playbook for my dev VM
- Host: GitHub
- URL: https://github.com/jbkahn/dev-box
- Owner: JBKahn
- Created: 2014-10-06T16:56:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-01T00:22:06.000Z (over 11 years ago)
- Last Synced: 2025-03-02T00:28:27.345Z (over 1 year ago)
- Language: Shell
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dev-box
This repo contains an Ansible provisioned ubuntu based VM for using with Vagrant.
It's main use is to allow me to stop developing on my local machine and have a tighter control on what is on the box I'm running my code on.
## Setup Instructions
1. Install [Virtualbox](https://www.virtualbox.org/) and [Vagrant](https://www.vagrantup.com/).
2. Clone this directory and cd into it.
3. Run `vagrant up` (takes about 30-40 minutes to run)
4. Run `./add_host.sh` (This forwards the ports for my webapps which are running on the box).
### SSH into the machine:
vagrant ssh
### Navigate a project folder and activate virtualenv (if applicable):
workon [projectname]
### Use Honcho inside to start an app (if applicable):
workon [projectname]
honcho start
### Ansible
[Ansible](http://www.ansible.com/home) is a configuration management system along the lines of Chef & Puppet, although it has some significant benefits over those tools.
#### Ansible Documentation
* [Main documentation site](http://docs.ansible.com/)
* [Playbooks](http://docs.ansible.com/playbooks.html)
* [Roles](http://docs.ansible.com/playbooks_roles.html#roles)
* [Variables](http://docs.ansible.com/playbooks_variables.html)
* [Loops](http://docs.ansible.com/playbooks_loops.html)
* [Best practices](http://docs.ansible.com/playbooks_best_practices.html)