This tutorial is going to show you how to install Play Framework 2.6 on Ubuntu distributions by using the SBT package manager.
In older Play versions like 2.6 you would have to download a play.zip
file and extract its contents to make use of Play, but on version 2.6, you are going to rely on SBT to interact with the framework.
To get you started, install SBT by running the commands below:
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 sudo apt-get update sudo apt-get install sbt
Now run the highlighted command to print the SBT version, in my case, the version is 1.1.1:
sbt sbtVersion [warn] No sbt.version set in project/build.properties, base directory: /home/bgasparotto/play-workspace [info] Loading global plugins from /home/bgasparotto/.sbt/1.0/plugins [info] Updating ProjectRef(uri("file:/home/bgasparotto/.sbt/1.0/plugins/"), "global-plugins")... [info] Done updating. [info] Set current project to play-workspace (in build file:/home/bgasparotto/play-workspace/) [info] 1.1.1
SBT is all you need in order to have a working Play.
Hope it helps. Cya!
This guide will show you how to create a Python function decorator with a few…
This guide will show you how to fix the error Got permission denied while trying…
This guide will show you how to create a Python virtual environment on Intellij IDEA…
This tutorial will quickly show you how to to find and kill processes on Linux,…
This guide shows a possible solution for Python error Relocation R_X86_64_PC32 against symbol can not…
I condensed below a cheat sheet of Kubernetes useful commands. I will keep updating this…