File size: 1,287 Bytes
4e97f83
 
2812180
4e97f83
 
 
 
980201b
 
aeaef84
 
 
980201b
4e97f83
aeaef84
4e97f83
980201b
 
 
 
 
 
4e97f83
 
 
 
 
980201b
4e97f83
 
 
 
 
 
 
980201b
4e97f83
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
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.