Giter Club home page Giter Club logo

advanced-scala-cc's Introduction

Advanced Scala Crash Course

This is the repository for the workshop Advanced Scala Crash Course, containing teaching material and workshop exercises.

Downloading

To download this repository onto your machine, make sure you have Git installed.

Then open a terminal, change the directory to wherever you want to store the files contained in this repository, and then enter the following command:

git clone [email protected]:jdegoes/advanced-scala-cc.git .

Note that if you haven't configured SSH, you may have to use the HTTP protocol to perform the download, which can be done as follows:

git clone https://github.com/jdegoes/advanced-scala-cc.git .

Building

The project contains an SBT build file. SBT is the most common Scala build tool. You can download the build tool here.

Be sure to download SBT 1.5.0 or later, as earlier versions do not support Scala 3.0.

SBT build files can be imported into IntelliJ IDEA, an IDE that has a plugin for developing Scala applications.

Alternately, some people use Visual Studio Code to develop Scala applications. If you choose to use Visual Studio Code, then make sure you install the Metals plugin and the Scala Syntax plugin.

Even if not using IntelliJ IDEA or Visual Studio Code with Metals, you can build the project from any terminal by using SBT directly.

After opening a terminal and changing the directory to wherever you downloaded the files, simply enter the following command:

sbt

This will start SBT in interactive mode, where you can type commands into the console in order to compile, run, and test your SBT project.

To compile the code in the project, type the following command at the SBT prompt:

compile

If there are any compiler errors, they will be reported to you, and you can edit the source code to fix the compiler errors and try again.

Alternately, you can put SBT into continuous compilation mode. In this mode, SBT will attempt to compile your project whenever any files change state.

To place SBT into this mode, type the following command at the SBT prompt:

~ compile

advanced-scala-cc's People

Contributors

jdegoes avatar

Stargazers

Calvin Lee Fernandes avatar Len Freehoffer avatar Jeff Carpenter avatar Michał Tumiłowicz avatar Ramesh avatar Dmytro Mitin avatar

Watchers

 avatar  avatar

Forkers

jnclt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.