Browse Source

numpy

master
zeus 3 years ago
parent
commit
0812863213
  1. 78
      README.md

78
README.md

@ -1,7 +1,7 @@
# hybrid-NodeVuejs ! # hybrid-NodeVuejs !
## LabInstance Node VueJS ## LabInstance numpy, SciPy, pandas
![alt text](images/swarmlab-network.png "") ![alt text](images/swarmlab-network.png "")
@ -34,83 +34,7 @@ This is a quickstart guide of howto use this *LabInstance to deploy Vue js appli
> pass > pass
#### Find lab workers
> ifconfig
>
> nmap -sP 172.130.0.0/24
>
> or
>
> /home/docker/project/bin/swarmlab-nmap
#### connect to workers
```bash
ssh docker@[IP]
```
#### Create hosts file
```bash
/home/docker/project/bin/swarmlab-nmap > /home/docker/project/hosts
```
---
**NOTE:** copy files to all clients
```bash
while read -r line;
do
scp /home/docker/project/file docker@$line:/some_dir/file
done < /home/docker/project/hosts
```
---
### Vue CLI Documentation
https://cli.vuejs.org/guide/creating-a-project.html#vue-create
#### Creating a Project
```bash
vue create hello-world
```
#### Run it!
```bash
npm run serve
```
#### Open it!
```bash
http://localhost:8080
```
:warning: Publishing Docker ports via -p
Using the -p (lower case) flag at runtime lets you publish a container’s specific port(s) to the Docker host.
```bash
docker exec -it -udocker -p [host-port]:[expose-port*] hybrid-nodevuejs_master_1 /bin/bash
e.g.
docker exec -it -udocker -p 8080:8080 hybrid-nodevuejs_master_1 /bin/bash
^^^^^^^^^^^
```
>
> (*) this is the port found in the container menu.
>
> We would expect the port number do be next to the "Ports" field.
>

Loading…
Cancel
Save