You are viewing the documentation for the 2.7.x release series. 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
Found an error in this documentation? The source code for this page can be found here. After reading the documentation guidelines, please feel free to contribute a pull request. Have questions or advice to share? Go to our community forums to start a conversation with the community.