Update README.md

This commit is contained in:
Julian Molina authored and GitHub committed 2019-08-29 16:30:38 +02:00
1 parent b794b9ceb7
commit bfe3722d42
1 file changed
+5 -3
+5 -3
View File
@@ -906,11 +906,13 @@ To add a Definition, drag and drop a Definition file, and select _Run_ in the me
You may also decide that you wish to have a second installation of the app, so that you can keep tweaking Strategies and even running simulations while live-trading. You can do this following these steps:
1. Make a copy of the complete Superalgos Desktop App folder, that is, the folder containing programs as well as data. You may name the second folder as you wish.
1. Stop the app (close the browser, use CTRL + C to stop the process at the Console and close the Console).
2. In the copy, go to the ```WebServer``` folder and open ```.env``` file with Notepad or similar text editor. Find the VIRTUAL_PORT parameter and replace the existing number with a number between 10000 and 50000. Save and close the file.
2. Make a copy of the complete Superalgos Desktop App folder, that is, the folder containing programs as well as data. You may name the second folder as you wish.
3. Now, also in the ```Webserver``` folder, open ```index.html``` and find the following line:
3. In the copy, go to the ```WebServer``` folder and open ```.env``` file with Notepad or similar text editor. Find the VIRTUAL_PORT parameter and replace the existing number with a number between 10000 and 50000. Save and close the file.
4. Now, also in the ```Webserver``` folder, open ```index.html``` and find the following line:
```urlPrefix: 'http://localhost:1337/'```
Replace 1337 with the number you set in the ```.env``` file.