简体   繁体   中英

Run Play framework project

What file should I run in order to open and see how my Play project works?

Here is a screen shot of my project opened in Intellij Idea:

在此处输入图片说明

Please have a look.

截图

For more information you should read - Getting Started with Play 2.x

According to documentation:

A play application has several entry points, one for each URL. We call these methods 'action' methods. Action methods are defined in special classes that we call 'controllers'

For running Play Framework applications with Intellij Idea tools you need to download and install Scala plugin.

Then press the down arrow in you right top corner -> Edit Configurations -> + -> Play 2 App -> select play module

在此处输入图片说明

You can run you play-app via command line executing play run under the application root directory.

Userful resources:

Configuring Intellij Idea for runnin Play-application

Quick quide to starting up the Play project

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM