https://github.com/micmro/vagrant-play
Vagrant box with the Typesafe Activator / play! framework
https://github.com/micmro/vagrant-play
Last synced: 8 months ago
JSON representation
Vagrant box with the Typesafe Activator / play! framework
- Host: GitHub
- URL: https://github.com/micmro/vagrant-play
- Owner: micmro
- License: mit
- Created: 2014-01-27T04:37:33.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-07-19T13:24:48.000Z (almost 10 years ago)
- Last Synced: 2025-03-27T08:11:23.915Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 3.38 MB
- Stars: 19
- Watchers: 7
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Typesafe Activator / play! Framework Vagrant File
=========
Sets up a trusty64 Ubuntu box (with 3GB RAM) with Java and the [Typesafe Activator](https://typesafe.com/activator) to get started with [play!](https://playframework.com) and rest of the [Typesafe Reactive Platform](https://typesafe.com/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
```Shell
vagrant up
```
###### SSH into box
```Shell
vagrant ssh
```
###### Shut down box
```Shell
vagrant halt
```
###### Tear down box
```Shell
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.