Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arky/iiab-dev-mode
This repository provides a quick setup of Internet-in-a-Box (IIAB) development environment using Vagrant.
https://github.com/arky/iiab-dev-mode
ansible centos debian fedora internet-in-a-box ubuntu vagrant vagrant-machine virtualbox
Last synced: 20 days ago
JSON representation
This repository provides a quick setup of Internet-in-a-Box (IIAB) development environment using Vagrant.
- Host: GitHub
- URL: https://github.com/arky/iiab-dev-mode
- Owner: arky
- Created: 2017-09-09T10:48:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-10T07:37:17.000Z (over 6 years ago)
- Last Synced: 2025-01-22T13:46:19.089Z (20 days ago)
- Topics: ansible, centos, debian, fedora, internet-in-a-box, ubuntu, vagrant, vagrant-machine, virtualbox
- Size: 9.77 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Internet-in-a-Box (IIAB) Development Mode
This repository provides a quick setup of Internet-in-a-Box (IIAB) development environment using Vagrant. You will
need a computer with virtualization enabled and git, Vagrant (2.0 or later) and VirtualBox installed.## Requirements
* [git](https://git-scm.com/)
* [Vagrant (2.0 or later)](https://www.vagrantup.com/)
* [Virtualbox](https://www.virtualbox.org/wiki/Downloads)
* Editor ([Atom](www.atom.io), Emacs, Vi etc)
* [Ansible](http://www.ansible.com/)
* [Ansible-lint](https://github.com/willthames/ansible-lint) and [Ansible-review)[https://github.com/willthames/ansible-review] tools## Usage
1. Check out this repository and its submodules on to your development machine.
`git clone --recursive https://github.com/arky/iiab-dev-mode.git`2. Change directory into 'iiab-dev-mode' with `cd iiab-dev-mode`. You can update all the submodules to latest master using `git submodule foreach git pull origin master`
3. Setup a vagrant machine with `vagrant up` and provision it with `vagrant provision`. Please select the available bridge network interface (wlan0 or eth0) that connects your host machine to the Internet.
4. You can now connect to your vagrant machine with `vagrant ssh`. All your local development files available as shared folder in `/opt/iiab` directory.
5. You can setup IIAB from the Ansible Playbooks following the [installation wiki page.](https://github.com/iiab/iiab/wiki/IIAB-Installation)
cd /opt/iiab/iiab/scripts/
./ansiblecd /opt/iiab/iiab/
./runansiblecd /opt/iiab/iiab-admin-console/
./installcd /opt/iiab/iiab-menu/
./cp-menus
6. Hack away! You can commit your local changes and send pull request to IIAB project by setting a default git remote push setting with `cd && git remote set-url --push origin [email protected]:/.git`. Learn more by reading this [blog post](http://blog.yuriy.tymch.uk/2012/05/different-git-push-pullfetch-urls.html) and [Working with Remotes in Pro Git Book](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes)7. Once you are done, you can stop your vagrant machine with `vagrant halt` or remove it completely with `vagrant destroy`.