Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.44 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.44 KB

Typesafe Activator / play! Framework Vagrant File

Sets up a trusty64 Ubuntu box (with 3GB RAM) with Java and the Typesafe Activator to get started with play! and rest of the Typesafe Reactive Platform. Even though included in the activator this vagrant file also provision a stand-alone version of Scala and sbt - to use them seperatly.

Follow installation guide on http://docs.vagrantup.com/v2/installation/index.html to install Vagrant and VirtualBox

Setup

This Vagrantfile has grown to contain the setup for quite a few addons, feel free to comment out any storage and FE tooling you won't need in vagrant-machine-setup.sh before running vagrant up to setup the vm.

Control Vagrant

Start box
vagrant up
SSH into box
vagrant ssh
Shut down box
vagrant halt
Tear down box
vagrant destroy

More documentation on http://www.vagrantup.com/

Running your existing app in Vagrant

Store your existing app in a folder named activator-project as a sibling of the one containing the Vagrant files. vagrant up the box and vagrant ssh into it. Now you can cd /activator-project/ and start it via activator run.

You might have to restart vagrant box before running your app the first time, if the activator hangs on installing sbt.