|
--- |
|
license: mit |
|
viewer: false |
|
--- |
|
This is a nearly one-click way for you to deploy SaprotHub on your local Windows devices. |
|
|
|
### Preparation |
|
1. [Download](https://huggingface.co/datasets/SaProtHub/WindowsDeploy/tree/main) **SaprotHubImage.tar** and **WindowsDeploy.bat** in one folder. |
|
2. Make sure you have installed [Docker Desktop](https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe) and it **is started** |
|
![img_3.png](./InstallPage1.png) |
|
![img_4.png](./InstallPage2.png) |
|
![img_5.png](./InstallPage3.png) |
|
![img_2.png](./docker_page.png) |
|
|
|
|
|
### Installation |
|
Click the WindowsDeploy.bat until the Ubuntu bash shell is shown like the figure below |
|
|
|
![img_3.png](./bash_shell.jpg) |
|
|
|
### Start jupyter notebook |
|
Entering the commands below into the bash shell |
|
``` |
|
cd ~/SaprotHub/local_server |
|
bash run.sh |
|
``` |
|
|
|
## Connect to local server on the colab platform |
|
Open the [SaprotHub.ipynb](https://colab.research.google.com/github/westlake-repl/SaprotHub/blob/main/colab/SaprotHub.ipynb) and click |
|
``Connect to a local runtime``, then input the address of the local server: ``http://localhost:12315/?token=SaprotHub``. |
|
|
|
![img.png](./connect_to_a_local_runtime.png) |
|
|
|
![img_1.png](./input_address.png) |
|
|
|
|
|
After that, you can connect to the local server on the colab platform. |