|
1 |
| -# plotly.js |
2 |
| ------ |
3 | 1 |
|
4 |
| - |
5 |
| -The premier high-level javascript graphing library |
6 |
| - |
7 |
| - |
8 |
| - |
9 |
| - |
10 |
| -## Test Plotly.js with Plot.ly Image-Server docker container |
11 |
| - |
12 |
| -### Run container |
13 |
| - |
14 |
| -Under your `plotly.js` folder, run |
15 |
| - |
16 |
| -```bash |
17 |
| -$ docker run -d --name your_container_name \ |
18 |
| - -v $PWD:/var/www/streambed/image_server/plotlyjs \ |
19 |
| - -p 9010:9010 -p 2022:22 plotly/imageserver:[version] |
20 |
| -``` |
21 |
| - |
22 |
| -### Run the test |
23 |
| - |
24 |
| -```bash |
25 |
| -$ docker exec -i your_container_name /bin/bash -c "cd /var/www/streambed/image_server/plotlyjs && npm run test-image" |
26 |
| -``` |
27 |
| - |
28 |
| -### SSH into docker |
29 |
| - |
30 |
| -```bash |
31 |
| -$ ssh -p 2022 root@localhost # with password `root` |
32 |
| -``` |
33 |
| - |
34 |
| -if you got error |
35 |
| - |
36 |
| -``` |
37 |
| -@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
38 |
| -@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ |
39 |
| -@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
40 |
| -IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! |
41 |
| -Someone could be eavesdropping on you right now (man-in-the-middle attack)! |
42 |
| -It is also possible that a host key has just been changed. |
43 |
| -The fingerprint for the ECDSA key sent by the remote host is |
44 |
| -dd:1e:e0:95:8d:ef:06:b8:0f:2f. |
45 |
| -Please contact your system administrator. |
46 |
| -Add correct host key in /home/jh/.ssh/known_hosts to get rid of this message. |
47 |
| -Offending ECDSA key in /home/jh/.ssh/known_hosts:104 |
48 |
| - remove with: ssh-keygen -f "/home/jh/.ssh/known_hosts" -R [localhost]:2022 |
49 |
| -ECDSA host key for [localhost]:2022 has changed and you have requested strict checking. |
50 |
| -Host key verification failed. |
51 |
| -``` |
52 |
| -simply run |
53 |
| - |
54 |
| -```bash |
55 |
| -$ ssh-keygen -f "/home/jh/.ssh/known_hosts" -R [localhost]:2022 |
56 |
| -``` |
57 |
| - |
58 |
| -to remove host information. |
0 commit comments