-
Step 01:
- Install or upgrade your operating system to latest version:
- For macOS, Mojave.
- For Windows, Windows 10 Pro (https://aka.ms/devtoolsforteaching). Use your Stevens email address to either login (IT confirms you should all have an account) or request an account from:
- Install or upgrade your operating system to latest version:
-
Step 02:
- Install Docker. When you install Docker, make sure to choose Linux Containers and not Windows Containers:
- For macOS, Docker for macOS.
- For Windows, Docker for Windows.
- For Windows, if you store your file in a different drive location from C:/, then you will need to access the Docker preferences to add other Shared Folder locations, such as D:/ or whatever.
- Follow the online Docker installation instructions carefully and make sure to test the Docker installation.
- NOTE: In some cases, you may need to enable virtualization on your computers.
- Install Docker. When you install Docker, make sure to choose Linux Containers and not Windows Containers:
-
Step 03:
- Download
shift-python_x.x.x_docker.zip
, the Docker Compose package from our GitHub Release Page. - Unzip the downloaded file to somewhere you like.
- Access a terminal window on your computer. You may require admin privileges:
- For macOS, Terminal.app.
- For Windows, Powershell (run as administrator). NOTE: do not use PowerShell ISE.
- Download
cd [directory-you-unzipped-the-package]
docker-compose build
- If successful, you should see the Docker image named
shift-python_xxx_docker_anaconda3
by running:
docker images
- Now you should be able to run the SHIFT Python Docker image by running:
docker-compose up
- Installation finished! Get started with PyCharm Pro.
Note: This is for Linux users only. Windows and macOS are not yet supported.
- Run the following to create a new
shift
environment and install SHIFT Python:
conda create -y -n shift python=3.6 anaconda
conda activate shift
wget -qO- https://github.com/hanlonlab/shift-python/releases/download/beta/shift-python_beta_conda_linux64.zip | bsdtar -xvf-
cd shift*
conda install *.tar.bz2
- Installation finished! Get started with Command Line.
- Install PyCharm Pro. Use your Stevens email address to request a free student license (https://www.jetbrains.com/student).
- Configuring Docker as a remote interpreter:
- Run
conda activate shift
to get into theshift
environment. You need to do this every time you open a new shell (or you can add this command onto your.bashrc
or.bash_profile
file). - If you see
(shift)
in the beginning of your command line, that means you are in the right environment to run SHIFT. - Don't forget to
import shift
when you use Python with SHIFT.