From e7bc4aa42db58871c9a5152ab7c856d9a55db8be Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 8 Mar 2021 18:33:15 +0200 Subject: [PATCH] add on --- README.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bd86f20..a349504 100644 --- a/README.md +++ b/README.md @@ -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 +``` +