Topic Scala Dev Enviornment Setup
Git sample scala-src

Setup of Scala Enviornment

  • You can avoid any local setup and run example online with the help of Scastie
  • You can download Scala distro and run examples on REPL
  • You can also do complete Scala Dev Enviornment setup using Eclipse IDE and SBT
    • Scala Build Tool Setup
      • Best build tool for Scala is sbt
      • Download setup in your desired compression format (zip or tgz)
      • Decompress the downloaded file to local directory. Ex:/download/path-to-sbt
      • Update PATH variable to include sbt Ex:[adixit@marcus ~]$ export PATH=$PATH:/download/path-to-sbt/bin
    • Eclipse IDE Setup
      • Download Scala Eclipse
      • Inside your local scala-src project. Execute sbt command: [adixit@marcus ~]$ sbt eclipse
      • Last step will download all required libraries and generate Eclipse configurations
      • When last step is done, use Eclipse import project command and import your scala-src project

Setup of Code Samples

  • login if you have a Github account or signup, if your don't have. If you do not want to create a Github account, just download the scala-src as zip, using tiny green button at right side
  • After login at Github, go to project scala-srcand fork the repository
  • A similar repository will be available in your code space. This is going to be your personal play area.
  • Setup Github on your local enviornment. Download Github Desktop for Windows/Mac or use Git Command Line

results matching ""

    No results matching ""