/ThinkUp-dev-vm

A Vagrant virtual machine for quick-start ThinkUp development.

Primary LanguageRuby

ThinkUp development virtual machine

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.

Requirements

Usage

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:

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:

MailCatcher

Destroy virtual machine:

$ vagrant destroy

Note: This does not delete setup files or the contents of the default directory.

Fork and modify

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.