For the Linux/Scripting session, two ways can be used. The first one is by using an online tool (requires no installation) or by using Docker (requires installation).
Docker will be used by the instructor within class.
- Download Docker Desktop.
- Follow the installation instructions to install Docker Desktop. For Windows, if you are running a supported system, Docker Desktop prompts you to enable WSL 2 during installation. Read the information displayed on the screen and enable WSL 2 to continue.
- Start Docker Desktop from the Windows Start menu.
No installation required for the programming language. However, Node.js will be needed in class.
- Download and install an LTS version of Node.js. To verify that you have installed it
correctly type the command
node -v
in a command line window and it should display the installed version of Node.js - Npm is already included in Node.js. To verify that you have it, type the command
npm -v
in a command line window and it should display the installed npm version.Windows users: if the previous command is not working, verify that the path of the npm executable has been added to your PATH environment variable.
Feel free to use any IDE you like. However, VS Code is the recommended IDE since it is light-weight, has a tone of extensions/plugins, and it is an industry standard.
VS Code will be used within class.
Local setup instructions will be given.
- Download and install python (preferably python > 3.7).
- We do not recommend using other python distributions (e.g. anaconda).
- During installation, add python to your environmental variables. That means that you have to check the box saying ADD TO PATH on the first screen during the installation
- If prompted select to additionally install pip.
- Verify that python is installed.
- Open a command prompt and type the command for launching a python interpreter. Depending on the OS and python's version this can either be
python
,python3
,py
orpy3
. - If none work, you need to add python to your environmental variables manually. To do this, find the interpreter in the installation directory and add it as an environmental variable.
- From now on we'll consider that python is installed and works with the command
python
. If this differs in your PC, use your own instead ofpython
from now on.
- Open a command prompt and type the command for launching a python interpreter. Depending on the OS and python's version this can either be
- Verify that pip is installed.
- Pip is a package manager for Python.
- Open a command prompt and type the command
pip
. - If it doesn't exist type
python -m pip
. If this works, you can add pip to your environmental variables (look above on how to do this). ` - If pip isn't installed, download the installer from here and run it as a python scripy:
python get-pip.py
.
- Upgrade pip by running
pip install --upgarade pip
orpython -m pip install --upgrade pip
. - Packages that may be required during this course can be installed using the pip package manager. Either
pip install package-name
orpython -m pip install package-name
. Any package that may be required will be pointed out in class.
Install python and pip through the OS's default package manager. Then run step 4 from before.
Note: Most linux and OSX distributions have Python 2 preinstalled. This is not compatible with what we will be seeing in this course. Install Python 3 locally.
See JavaScript section for code editor. The same will be used.
- Git, download and install Git Version Control
- Create a Github account