eg-react
eg-react copied to clipboard
loading of data from the cloud service where washu is located
I am using docker version of washu browser, I created the washu docker server on the cloud server using the following command
docker run -it -p 3000:3000 -v /data:/data epgg/eg-react
cd eg-react/frontend
npm start
My data is stored on the cloud service that built the washu service
My cloud server IP address is 192.168.2.234
By executing the following command on the local computer, I can access the washu browser built on the cloud server through http://127.0.0.1:3000 in the web browser
ssh -N -f -L localhost:3000:localhost:3000 -p 22 [email protected]
Is there any way to create a hub for the data in /data to reduce the upload, download and transmission of data, so that I can use washu to access the data of the cloud server where it is located as soon as possible?
I have tried the local track method, which requires uploading data from the local computer and is not suitable; I also tried to create a service port for the data in /data on the cloud server, using the following command:
-
cloud server :
python3 -m http.server 8090
-
local computer:
ssh -N -f -L localhost:8090:localhost:8090 -p 22 [email protected]
In this way, I can access the data on the cloud server through the local computer browser through 127.0.0.1:8090/data/CTCF.bw, but this "url" cannot be recognized by washu's remote track method.
There may be ways that I haven't discovered in the tutorial. Do you have any good ways to quickly load the washu service on the cloud server and the local data where the service is located?