Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does `g8` do when installing Typesafe Stack 2.0

So I just installed the Typesafe Stack via the universal install (download a .zip and un-zipping it into my /usr/local directory. I looked at the website and it mentioned sbt and g8, so I first typed sbt to see what would happen and it just gave me a little error about how there was no project in the current directoy. Then I typed g8 and it started downloading a bunch of stuff... though I'm not sure what. Can anyone tell me? Picture attached.

Additionally, does the Typesafe stack come with Scala and Akka? The website seems to say it does, but if I remove my original Scala 2.9 path from .bash_profile and then restart Terminal, it complains that it doesn't exist.

g8

like image 817
adelbertc Avatar asked Jan 18 '23 04:01

adelbertc


1 Answers

The universal install comes with a README. It says:

g8 is a project templating tool. You can use this to generate a quick project outline for one of the libraries in the typesafe stack. Examples include:

  • g8 typesafehub/akka-java-maven
  • g8 typesafehub/akka-scala-sbt
  • g8 typesafehub/play-scala
  • g8 typesafehub/play-java

Why don't you give one of those a try? After creating your project, cd into the directory and start sbt.

like image 133
Heiko Seeberger Avatar answered Jan 23 '23 18:01

Heiko Seeberger