Slick workshop for Scala Exchange 2015
Scala Other
Latest commit fddd0e5 Apr 3, 2016 @davegurnell davegurnell Ignore Ensime files
Permalink
Failed to load latest commit information.
project
src/main
.gitignore
README.md
build.sbt
sbt-launch.jar Initial commit Dec 1, 2015
sbt.bat Initial commit Dec 1, 2015
sbt.sh
scalax15-slick-slides.key
scalax15-slick-slides.pdf Replace Rep[Int] with Rep[Long] in slides Dec 12, 2015
scalax15-slick.sublime-project

README.md

Slick Workshop for Scala Exchange 2015

Slides and companion material for the Slick workshop from Scala Exchange 2015.

Copyright 2015 Dave Gurnell of Underscore. Slides and course content licensed CC-BY-NC-SA 4.0, code samples licensed [Apache 2.0].

Join the chat at https://gitter.im/underscoreio/scalax15-slick

Quick Start

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.

  1. Clone this repo and switch to the root directory:

    $ git clone https://github.com/underscoreio/scalax15-slick.git
    
    $ cd scalax15-slick
  2. Run SBT:

    $ ./sbt.sh # ".\sbt.bat" on Windows
  3. 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
  4. 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.

  5. If you use an IDE that requires further setup, do that now. I've included the sbteclipse and ensime-sbt plugins in the build.

Looking forward to seeing you at the workshop!

Further Reading

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.