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