Docker is easiest way to get the
SPIRAL agent up and running on your machine.
There is no need to build anything or install any packages (besides Docker
itself).
-
Install Docker on your local host machine.
-
Run the following command in the terminal:
docker run -it -p 8888:8888 ddtm/spiral:latest
This will start an instance of Jupyter Notebook server.
Note that you can replace
8888:8888
with<HOST_PORT>:8888
where<HOST_PORT>
is a port on your local host machine. -
Follow the instructions and open the URL in your host web browser:
http://127.0.0.1:8888/?token=...
-
You should see a file browser. Select
spiral-demo.ipynb
. -
Voilà!
Now you should be able to go through the demo notebook. Use Shift + Enter
to execute a cell
and go to the next one. For more information on how to use Jupyter notebooks see, for example,
this tutorial.