These scala scripts are my first forays into Scala, coming from the Ruby programming language. All scripts are written using TDD. Expect lots of fun, mistakes and experimentation!
It's easy to get started with Scala, follow the below steps and if you get stuck just send me a message.
- Let's install Java. In our console, run
java
. If this runs, you already have java installed, if not, you will be prompted to install Java and you can follow the steps. - We can install SBT, an open source tool, which compiles our Scala code and manages our dependencies amongst other things. If you have Homebrew, you can run
brew install sbt
. If not, you can find instructions here. - Install a text editor, we use IntelliJ IDEA, the Community version, which you can install here.
- Fork this repo (for instructions, see here).
- In your console, navigate to the project root and run
sbt
. - Run the programme with
run
. - Run the tests with
test
.
If there are ways that I can improve this repo, please do raise an Issue and I will attend to it as soon as I can. If you are new to raising issues, see these instructions here.
If you get stuck or there's anything I can help with, just send me a message.