underscoreio/scalax15-slick

Name: scalax15-slick

Owner: Underscore

Description: Slick workshop for Scala Exchange 2015

Created: 2015-12-01 08:12:10.0

Updated: 2018-05-16 14:25:44.0

Pushed: 2017-10-05 06:41:35.0

Homepage: null

Size: 5330

Language: Scala

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

    t clone https://github.com/underscoreio/scalax15-slick.git
    
     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:

     runMain helloworld.Main
    
  4. If you see a list of albums similar to the following, you're good:

    m(Keyboard Cat,Keyboard Cat's Greatest Hits,1)
    m(Spice Girls,Spice,2)
    m(Rick Astley,Whenever You Need Somebody,3)
    m(Manowar,The Triumph of Steel,4)
    m(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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.