Spin up a Ubuntu VM with a functioning ThinkUp installation and passing tests using Vagrant.
Warning: this virtual machine is intended for local development use only. Do not use in production.
- Vagrant
- VirtualBox
vagrant plugin install vagrant-bindfs
Run virtual machine:
$ vagrant up
SSH in:
$ vagrant ssh
Run ThinkUp tests:
$ cd /var/www/default/thinkup/
$ SKIP_UPGRADE_TESTS=1 php tests/all_tests.php
Debug test output:
$ cd /var/www/default/thinkup/
$ TEST_DEBUG=1 php tests/TestToDebug.php > ../debug.html
In your host machine's browser, visit http://192.168.56.101/debug.html
See ThinkUp in your browser:
- http://thinkup.dev/mythinkup/
- [email protected] / nice2bnice
Note: If thinkup.dev doesn't resolve, make sure the following line is in your host computer's /etc/hosts file:
192.168.56.101 default thinkup.dev www.thinkup.dev
Adminer database admin:
- http://192.168.56.101/adminer/
- thinkup / nice2bnice
MailCatcher
Destroy virtual machine:
$ vagrant destroy
Note: This does not delete setup files or the contents of the default directory.
This Vagrant virtual machine was built with PuPHPet. To modify it for your own purposes, drag and drop puphpet/config.yaml onto (http://puphpet.com) and regenerate.