Terminal Commands

Database Server

To launch the MongoDB database server, type the command and press Enter.

mongod

To stop the database server, press ctrl+c.

Application

To test and debug the application, browse to the project directory. Tip: you can type the beginning of the word and press the Tab key to fill in the rest.

cd ~/play-scala-web-app/play-scala-web-app

Type in the command and press Enter.

sbt run

SBT will automatically recompile the code when changes are detected.

To stop the application server, press ctrl+d keys.


Next: Super Administrator