Skip to content

micmro/Vagrant-play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Vagrant box with the Typesafe Activator / play! framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages