Play02-getting started-creating a new application

Source: Internet
Author: User
Https://www.playframework.com/documentation/2.6.x/NewApplication

Use Play starter Project:https://playframework.com/download#starters
If you haven't used play before, you can download starter project (sample program). A large number of examples in this sample program. According to the example you can get a lot of experience value ~ and understand some more detailed, anyway look right ~

Good look. After the download, a. zip file is extracted, using SBT run (Windows users use Sbt.bat instead)

Create a new app with SBT
If you have already installed SBT 0.13.13+, you can use SBT new to create a play project using the minimized Giter8 template (like a MAVEN prototype).
If you use Windows, use Sbt.bat
This seed template has been configured over CSRF and security protocol header filtering, other items are not explicitly this

Java Users:
SBT New Playframework/play-java-seed.g8
Scala Users:
SBT New Playframework/play-scala-seed.g8

Once created, it's good to go into the project SBT run and wait for it to automatically download the relevant package to access the first project.

Play02-getting started-creating a new application

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.