You are viewing the documentation for the 2.9.0-RC2 development release. The latest stable release series is 3.0.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:
§Java template
sbt new playframework/play-java-seed.g8
§Scala template
sbt new playframework/play-scala-seed.g8
After the template creates the project:
- Change into the top level project directory.
- Enter
sbt run
to download dependencies and start the system. - In a browser, enter http://localhost:9000/ to view the welcome page.