Step by step to install Scala + Play Framework in Ubuntu 14.04 with Activator.
Install Scala
sudo apt-get remove scala-library scala
wget http://www.scala-lang.org/files/archive/scala-2.11.6.deb
sudo dpkg -i scala-2.11.6.deb
sudo apt-get update
sudo apt-get install scala
Download and Install Play (the folder should have permission to write)
cd /opt
wget http://downloads.typesafe.com/typesafe-activator/1.3.2/typesafe-activator-1.3.2-minimal.zip
unzip typesafe-activator-1.3.2-minimal.zip
mv activator-1.3.2-minimal activator
Add the activator script to your PATH and execute Activator
cd /opt/activator
export PATH=$PATH:/opt/activator
source ~/.bashrc
chmod a+x activator
./activator
After that, check if the activator command is available
activator -help
So then, create your project
activator new my-first-app play-scala
cd my-first-app
To create play with console:
activator
To create play with UI:
activator ui
References:
it says ::
(Running the application, auto-reloading is enabled) ---
[info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
(Server started, use Ctrl+D to stop and go back to the console...)
and i am not being able to run it will you help me to resolve this issue
also after installing play command is also not working it says command not supported
I am using ubuntu 14.04