For users who want to deploy ColabSaprot on their local server, please follow the instructions below:
cd local_server # This is important because the system will find files using relative path!
bash install.sh
bash run.sh
See here.
- Download SaprotHubImage.tar and WindowsDeploy.bat in one folder.
- Make sure you have installed Docker Desktop and it is started
Click the WindowsDeploy.bat until the Ubuntu bash shell is shown like the figure below
Entering the commands below into the bash shell
cd ~/SaprotHub/local_server
bash run.sh
See here.
Open the SaprotHub.ipynb and click
Connect to a local runtime
, then input the address of the local server: http://localhost:12315/?token=SaprotHub
.
If the GPU is deployed on your remote server, you can use SSH port forwarding to connect to the local server.
ssh -NL 12315:localhost:12315 user@remote_server
After that, you can connect to the local server on the colab platform.