Environment Setup

Major Dependencies

Docker image for this lab

We use Docker to maintain the environment for this lab. If you don't have the docker engine installed on your own machine, please refer to https://docs.docker.com/get-dockerarrow-up-right.

We have pushed our docker image with all the dependencies and code installed to dockerhub. To launch a docker container with our image, you can run this in your terminal:

docker run -it -p 3000:3000 ericlohk/crdt-env

Note that the command may fail because port 3000 may be in use by other students. In this case, try another port between 1024 ~ 65535

Workspace

The above command will take you into a shell environment on a minimal Linux distribution Alpine. You will be under the directory /App, which includes all the dependencies and code:

/app # ls
Dockerfile    node_modules  package.json  public        src           yarn.lock

This will also be our workspace for this lab.

Last updated