How to Install Play Framework
The Play Framework : https://www.playframework.com/download/
Mac: El Capitan (Version : 10.11.5 ) (If something doesn’t work, things may have changed.)
I’ll be installing version 2.2.6 of the framework.
Once you’ve downloaded the zip file — unzip it. Place it in a location that is easy to locate, you’ll need to remember the directory for later. Optional, place in a folder away from the desktop, so to not accidentally delete it.
Once in the terminal you’ll need to run a few commands. Since El Capitan changed a few permissions we will need to manually insert our export PATH.
This will open .bash_profile in TextEditor or in VIM — depending on your environment.
In here we get to set the PATH to run the exec file “play”. The code should look something like this…
#Settings for Play
Save the document and hit “cmd+q” to close the file. Once back in the terminal type this:
This will force the changes to take place in the current terminal. To make sure it worked run this command in the terminal.
You should see something like this being displayed in the terminal.
If you see this, you’ve successfully modified the .bash_profile. Now it’s time to make sure you’ve successfully installed the play framework. Run:
If you see this:
(A cool "Play" image)
play 2.2.6 built with Scala 2.10.3 (running Java 1.8.0_92), http://www.playframework.com
This is not a play application!
Use `play new` to create a new Play application in the current directory,
or go to an existing application and launch the development console using `play`.
You can also browse the complete documentation at http://www.playframework.com.
You’ve successfully completed the installation process. Congratz !