Getting started with playframework-2.0
Please do not use this tag!
This tag is a duplicate of playframework. Please post any content that you would post here in that tag, with the version set to “2.0”
Setting up a Play 2 ! project
Download Play! 1. Goto https://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
export PATH=$PATH:/home/impadmin/play-2.5.x
…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.