|
--- |
|
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** |
|
 |
|
 |
|
 |
|
 |
|
|
|
|
|
### Installation |
|
Click the WindowsDeploy.bat until the Ubuntu bash shell is shown like the figure below |
|
|
|
 |
|
|
|
### 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``. |
|
|
|
 |
|
|
|
 |
|
|
|
|
|
After that, you can connect to the local server on the colab platform. |