You are viewing the documentation for the 2.8.14 release. The latest stable release series is 2.8.x.
§Creating a New Application
Play expects a specific project structure. If you already have sbt installed, you can use a giter8 template, similar to a Maven archetype, to create a new Play project. This gives you the advantage of setting up your project folders, build structure, and development environment — all with one command.
In a command window, enter one of the following lines to create a new project:
sbt new playframework/play-java-seed.g8
sbt new playframework/play-scala-seed.g8
After the template creates the project:
sbt runto download dependencies and start the system.
- In a browser, enter http://localhost:9000/ to view the welcome page.
Next: Anatomy of a Play application