@@ -18,71 +18,11 @@ and fill in [this form](https://forms.gle/N6F3Q3jZm71AASby9) with your GASPAR an
...
@@ -18,71 +18,11 @@ and fill in [this form](https://forms.gle/N6F3Q3jZm71AASby9) with your GASPAR an
## Step 2: Installing the Java Development Kit (JDK) and sbt via coursier
## Step 2: Installing the Java Development Kit (JDK) and sbt via coursier
We will use coursier to install the correct version of
We will use coursier to install the correct version of
Java as well as the sbt build tool:
Java as well as the sbt build tool. Follow [the instructions on the coursier website](https://get-coursier.io/docs/cli-installation) for the installation.
### On Linux and macOS
_Note_: on Windows, you might have to run the installer twice.
Download and install both the [Visual C++ 2010 SP1 Redistributable
Package](https://www.microsoft.com/en-us/download/details.aspx?id=26999) and [Visual C++ 2015 Redistributable Update](https://www.microsoft.com/en-us/download/details.aspx?id=52685)(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:
```shell
cd %USERPROFILE%
```
Now assuming that you're in the correct directory you can run:
If this command worked it will not print anything.
If this command worked it will not print anything.
## Step 6: Installing Code
## Step 4: Installing Code
Visual Studio Code is the IDE we strongly recommend using for this class (you are free to use any editor you want, but we won't don't have the resources to help you configure it for Scala).
Visual Studio Code is the IDE we strongly recommend using for this class (you are free to use any editor you want, but we won't don't have the resources to help you configure it for Scala).
...
@@ -140,7 +80,7 @@ See [https://code.visualstudio.com/docs/setup/windows](https://code.visualstudio
...
@@ -140,7 +80,7 @@ See [https://code.visualstudio.com/docs/setup/windows](https://code.visualstudio
Make sure that the checkbox "Add to PATH (available after restart)" in the
Make sure that the checkbox "Add to PATH (available after restart)" in the
Please follow [this tutorial](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) to generate a new SSH key and add it to the ssh-agent (except the last step: you should instead add the key to Gitlab as described below). This [video](https://youtu.be/_RsP81Et12s?t=67)(from 1:07 to 4:05) might also help.
Please follow [this tutorial](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) to generate a new SSH key and add it to the ssh-agent (except the last step: you should instead add the key to Gitlab as described below). This [video](https://youtu.be/_RsP81Et12s?t=67)(from 1:07 to 4:05) might also help.
### Step 8.3: Adding your public key on Gitlab
### Step 6.3: Adding your public key on Gitlab
To be able to push your code, you'll need to add the public part of your key on Gitlab:
To be able to push your code, you'll need to add the public part of your key on Gitlab:
- Go to [gitlab.epfl.ch](https://gitlab.epfl.ch), log in with your EPFL account
- Go to [gitlab.epfl.ch](https://gitlab.epfl.ch), log in with your EPFL account
- Go to [gitlab.epfl.ch/-/profile/keys](https://gitlab.epfl.ch/-/profile/keys) and copy-paste the content of the `id_rsa.pub` file created by the `ssh-keygen` command you just ran (`ssh-keygen` prints the location of the file to the console).
- Go to [gitlab.epfl.ch/-/profile/keys](https://gitlab.epfl.ch/-/profile/keys) and copy-paste the content of the `id_rsa.pub` file created by the `ssh-keygen` command you just ran (`ssh-keygen` prints the location of the file to the console).