|
@ -19,7 +19,7 @@ This is a quickstart guide of howto use this *LabInstance to deploy Vue js appli |
|
|
|
|
|
|
|
|
- Working Directory |
|
|
- Working Directory |
|
|
|
|
|
|
|
|
> /project |
|
|
> /home/docker/project |
|
|
|
|
|
|
|
|
- Default user |
|
|
- Default user |
|
|
|
|
|
|
|
@ -43,7 +43,7 @@ This is a quickstart guide of howto use this *LabInstance to deploy Vue js appli |
|
|
> |
|
|
> |
|
|
> or |
|
|
> or |
|
|
> |
|
|
> |
|
|
> /project/bin/swarmlab-nmap |
|
|
> /home/docker/project/bin/swarmlab-nmap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### connect to workers |
|
|
#### connect to workers |
|
@ -57,7 +57,7 @@ This is a quickstart guide of howto use this *LabInstance to deploy Vue js appli |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|
/project/bin/swarmlab-nmap > /project/hosts |
|
|
/home/docker/project/bin/swarmlab-nmap > /home/docker/project/hosts |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -67,8 +67,8 @@ This is a quickstart guide of howto use this *LabInstance to deploy Vue js appli |
|
|
```bash |
|
|
```bash |
|
|
while read -r line; |
|
|
while read -r line; |
|
|
do |
|
|
do |
|
|
scp /project/file docker@$line:/some_dir/file |
|
|
scp /home/docker/project/file docker@$line:/some_dir/file |
|
|
done < /project/hosts |
|
|
done < /home/docker/project/hosts |
|
|
``` |
|
|
``` |
|
|
--- |
|
|
--- |
|
|
|
|
|
|
|
@ -76,4 +76,16 @@ done < /project/hosts |
|
|
|
|
|
|
|
|
https://cli.vuejs.org/guide/creating-a-project.html#vue-create |
|
|
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 |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|