Slick Workshop for Scala Exchange 2015
Slides and companion material for the Slick workshop from Scala Exchange 2015.
A screencast of the workshop content is available on Vimeo.
Follow the instructions below to get set up. Doing so will prevent you having to download the internet on conference wifi! You will need a Java 8 compatible JVM and a familiar programmer's text editor or IDE. If you have any problems please let me know on the Gitter channel.
Clone this repo and switch to the root directory:
$ git clone https://github.com/underscoreio/scalax15-slick.git $ cd scalax15-slick
$ ./sbt.sh # ".\sbt.bat" on Windows
Compile and run the example "helloworld.Main" application. This will take a few minutes to run the first time. You'll need an internet connection to download dependencies:
sbt> runMain helloworld.Main
If you see a list of albums similar to the following, you're good:
Album(Keyboard Cat,Keyboard Cat's Greatest Hits,1) Album(Spice Girls,Spice,2) Album(Rick Astley,Whenever You Need Somebody,3) Album(Manowar,The Triumph of Steel,4) Album(Justin Bieber,Believe,5)
If not, let me know on the Gitter channel.
If you use an IDE that requires further setup, do that now. I've included the
ensime-sbtplugins in the build.
Looking forward to seeing you at the workshop!
The content for the workshop will be based heavily on the book Essential Slick by Richard Dallaway and Jonathan Ferguson.
Sign up to the Underscore newsletter to receive news, views, and code samples about Scala, Slick, and functional programming.