You are viewing the documentation for the 2.7.3 release in the 2.7.x series of releases. 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:
- Enter
sbt run
to download dependencies and start the system. - In a browser, enter http://localhost:9000/ to view the welcome page.