Here are the steps to follow (after installing the Galileo app and Docker):
- Open Galileo from your desktop or applications.
2. Use Galileo to select and request access to another Galileo-enabled machine. Access can be approved manually, by the remote machine’s operator, or automatic approval can be set up.
3. Create a Dockerfile for the project. Galileo is built on top of Docker. The Dockerfile specifies the Julia packages that must be imported for the code to run and specifies the entry point and the arguments that need to be passed to your Julia code. Docker will be running in the background. (This process of containerization is incredibly simple, code-wise, since Julia is also an adopter of Docker images.)
4. Grab your project file and drag and drop into Galileo.
You will see that the project is packaged and fired off to the other machine.
5. The results are then packaged up and sent back to you as an output file, generated from the run.
Instead of tying up your own machine or restricting yourself to its capabilities, you can employ Galileo’s stupid simple solution to run your code elsewhere. Instead of using a Linux terminal to actually deploy the code, you can simply drag it and drop it. This is an incredible gain in time and energy. The advantage is amplified for any project that is mildly complex or scientific—precisely the kinds of projects that Julia was designed to tackle.