The Bitaculous Development Box.
-
Clone the DevBox:
$ git clone [email protected]:bitaculous/devbox.git
-
Provision the DevBox:
$ cd devbox $ vagrant up
$ vagrant up
$ vagrant halt
$ vagrant suspend
$ vagrant resume
$ vagrant provision
$ vagrant provision --provision-with ansible
$ vagrant provision --provision-with resume
$ vagrant reload --provision
$ vagrant ssh
$ mysqldump -h <HOST> -u <USERNAME> -p <DATABASE> --default-character-set=utf8 -r <NAME>.sql
$ mysqldump -h localhost -u root -p database --default-character-set=utf8 -r ./craft/database.sql
$ mysql -h <HOST> -u <USERNAME> -p <DATABASE> --default-character-set=utf8 < <NAME>.sql
$ mysql -h localhost -u root -p database --default-character-set=utf8 < ./craft/database.sql
- OS: Debian Jessie
- RAM: 2GB
- Hostname: app.loc
- Ports: 80 → 8080 443 → 8443
craft
htdocs
log
vendor
Credit goes to Sven Lahann for vagrant-ansible.
DevBox is released under the MIT License (MIT), see LICENSE.