Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

busymachines-labs/busylabs-2021

Repository files navigation

busylabs 2021

setup

  • It is highly recommended that you run some kind of linux, or macOS. You can program Scala and install all tools listed here on Windows, BUT:

    • setting up docker environment on windows can be a bit of a pain
    • none of us really have Windows experience, so we can't help you debug setup problems as easily. Ideally you'd do a dual boot windows/ubuntu installation if you're running windows. It's not recommended to run a VM w/ ubuntu because development will be slow as hell, and you'd need at least 4GB of RAM just for the VM.
    • eventually you have to learn
  • Install java JDK. At least version 8.

  • Install sbt

    • option 1: let sdkman install sbt for you via the terminal command sdk install sbt
    • option 2: manually install sbt
  • Install docker

    • if you are on windows, maybe try out WSL
  • Install git

    • optionally, you can configure your git w/ your github account if you have one.

IDEs

  1. IntelliJ IDEA Community Edition (the ultimate edition brings nothing to us)
    • make sure you install the Scala plugin. If this is the first time installing IntelliJ then you will be prompted w/ a wizard that displays "most popular plugins", and Scala is the first one of them. Otherwise follow the instructions to install plugins and search for the Scala one. There's only one.
    • once installed you can go to File -> New Project -> From Existing Sources and select any folder that has a .build.sbt file in it to import it as a "sbt project".
  2. Visual Studio Code with the metals plugin.
    • Just focus on the "Importing build" section. Anything else is not relevant for now.

For starters

  1. clone this repository.
  2. import it into the IDE of your choice. Run Main.scala (look up how to search for files in your IDE).
  3. try compiling from the command line with sbt and then running run in the REPL to achieve the same result

About

Repo for LigaAC labs organized by BusyMachines

Resources

License

Stars

Watchers

Forks

Languages