Download Play! 1. Goto http://www.playframework.com/download and download latest Play! release (play-2.5.X.zip at the time of this writing). Unzip in a directory of your choice. We’ll refer to uncompressed folder directory as PLAY_HOME.
Add PLAY_HOME folder to you PATH environment variable, so that it’s handy when you run play commands from within your project. If you’re using Bash, you can do this by simply appending m like this to user.home/.bashrc
…and we are done. (detailed instructions are given here).
Create your project
- Goto to directory where you want to create your project.
- Create a new project named Sample (or any fancy name you would like to give
Run command “play” to enter Play! console.
You’re free to use any text editor of your choice for writing source code and modifying configuration files.
if you want to reproduce, please indicate the source:
Getting started with playframework-2.0 – Setting up a Play 2 ! project - CodeDay