From the course: Learning Play 2 Framework

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Some basic commands

Some basic commands

- [Instructor] Let's also get familiar with some commands with play so you can compile, test, and run in interactive mode. So right now, I'm back into my terminal, and if you haven't stopped the application since then, you can do this by doing Ctrl + C on Windows or Command + C on Mac. And how you can get into interactive mode is basically by doing sbt, like so. And now you're into interactive mode. So, basically, what interactive mode allows you to do is do commands while the application is running. So, right now, if I wanted to compile the application, I can simply do compile, like so. And now the application just compiled. You can also run some tests inside of the application. So, if you want to run some test to see if your test that you have defined in here, and right now, we don't have much, but if you want the test, so, for example, this is testing the GET method. You can do test here, like so. And it's doing all…

Contents