Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.4 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.4 KB

Scala World Scala.js workshop

Scala.js project base for Scala World 2017 workshop

Getting started

First of all make sure you have the necessary tools installed. You'll need the following:

Now you're ready to download and start using the starter project:

  1. git clone https://github.com/ochrons/scalaworld-scalajs.git
  2. cd scalaworld-scalajs
  3. sbt updateClassifiers to download dependencies
  4. git checkout clientserver
  5. sbt updateClassifiers to download dependencies for the client-server version
  6. git checkout master to go back to the client-only version
  7. sbt
  8. > ~fastOptJS automatically compiles your code to JS when you make changes
  9. In your browser navigate to http://localhost:12345/target/scala-2.12/classes/index.html

There is a more advanced version of the project under the clientserver branch which includes, to no one's surprise, a web client and a server :)