Skip to content

Commit 4415d16

Browse files
authored
Update using-virtual-environment.md
1 parent c2b16b9 commit 4415d16

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/using-virtual-environment.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
pip install nodeenv
88

9-
2. Download or create the project:
9+
2. Download (or create) your project:
1010

11-
# download
11+
# download an existing project:
1212
git clone --recursive https://github.com/aktos-io/scadajs-template myproject && cd myproject
1313

14-
# create
14+
# or create a project from scratch:
1515
git init myproject && cd myproject
1616
git submodule add git submodule add https://github.com/aktos-io/scada.js
1717

@@ -29,8 +29,9 @@
2929
3030
5. Optional: Move your nodeenv to a central location and use it between projects:
3131

32-
mv nodeenv/ ~/nodeenv/scadajs-1 # or anywhere you like
33-
echo 'export SCADAJS_1_ENV="$HOME/nodeenv/scadajs-1"' >> ~/.bashrc
32+
dest=$HOME/nodeenv/scadajs-1 # or anywhere you like
33+
mv nodeenv/ $dest
34+
echo "export SCADAJS_1_ENV='$dest'" >> ~/.bashrc
3435

3536
> Next time you can use: `./scada.js/venv`
3637

0 commit comments

Comments
 (0)