Open a Terminal window and create a new project directory in your home directory.
Browse to the new directory. Tip: you can type the first few letters in a directory followed by the Tab key.
Initialize the new project with SBT.
sbt new playframework/play-scala-seed.g8
Enter the following at the prompt:
Launch IntelliJ IDEA.
Click Import Project.
Browse to your home directory and select play-scala-web-app.
Inside there will be another directory by the same name, this additional directory was created by SBT. It might seem silly to have a nested directory by the same name, but this structure will be helpful during the production deployment process. Keep it as is.
Select the nested play-scala-web-app directory.
Click OK to confirm the default import settings.
Open Terminal and browse to the root of the project.
Run the project with SBT.
When Server started… message is printed in Terminal, open your browser and point to http://localhost:9000.
Once you see Welcome To Play! in your browser, the project has been successfully loaded, compiled, and is running.
Stop the server by pressing ctrl+d in Terminal.
Next: Version Control