2

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:

enter image description here

J-Alex
  • 6,881
  • 10
  • 46
  • 64
Yaroslav
  • 1,325
  • 1
  • 11
  • 23

2 Answers2

3

Please have a look.

screenshot

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

Vladislav Kysliy
  • 3,488
  • 3
  • 32
  • 44
1

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

enter image description here

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

J-Alex
  • 6,881
  • 10
  • 46
  • 64