-
Matt Bovel authoredMatt Bovel authored
Tools Setup
Note
We recommend using Linux or macOS for this course, we also support Windows but typically people have more trouble getting everything working correctly on Windows and it's harder for us to help them since we don't use Windows ourselves.
On Windows, if your username has spaces or special characters in it, the IDE might not work properly. Please create a new user with a username containing only letters.
Step 1: Create an account on gitlab.epfl.ch
If you haven't already log into gitlab and fill in this form with your GASPAR and SCIPER number to initialize your GitLab repository for the course. Do this as soon as possible because it will take some time between the account creation and the lab submission system working for your account.
Step 2: Installing the Java Development Kit (JDK) and sbt via coursier
We will use coursier to install the correct version of Java as well as the sbt build tool:
On Linux and macOS
curl -fLo cs https://git.io/coursier-cli-"$(uname | tr LD ld)"
chmod +x cs
./cs setup -y --jvm 8 --apps cs,sbt
Please reboot after this point.
On Windows
Download and install both the Visual C++ 2010 SP1 Redistributable Package and Visual C++ 2015 Redistributable Update (click on "Download" then select "vcredist_x64.exe" and click "Next").
Open cmd.exe
(and not powershell)
First, make sure that you are not in the System32
directory, instead you
should be in C:\Users\yourusername
. If you are in System32
you will need to
change directory to your user directory every time you start a terminal by
running:
cd %USERPROFILE%
Now assuming that you're in the correct directory you can run:
bitsadmin /transfer cs-cli https://git.io/coursier-cli-windows-exe "%cd%\cs.exe"