Skip to content

Commit

Permalink
ram change, auto create folder added and message for setup added
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mrowetz committed Sep 19, 2015
1 parent 4561b3b commit 6f22e74
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
Typesafe Activator / play! Framework Vagrant File
=========

Sets up a trusty64 Ubuntu box (with 2GB 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.
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
===================

Expand Down
6 changes: 3 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Vagrant.configure(2) do |config|
v.name = "activator-project-in-trusty64"
# max 75% CPU cap
v.customize ["modifyvm", :id, "--cpuexecutioncap", "75"]
# give vm max 6GB ram
v.memory = 6144
# give vm max 3GB ram
v.memory = 3072
end

# run "vagrant-machine-setup.sh" shell script when setting up our machine
Expand Down Expand Up @@ -56,6 +56,6 @@ Vagrant.configure(2) do |config|
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder "../activator-project", "/activator-project"
config.vm.synced_folder "../activator-project", "/activator-project", create: true

end

0 comments on commit 6f22e74

Please sign in to comment.