-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
1. Clone the repository `git clone [email protected]:EVerest/everest-utils.git` | ||
2. From inside VSCode, type `Cmd+Shift+P` | ||
3. Select the directory `everest-utils/docker/everest-playground` to start a DevContainer - all the following commands must be executed in VSCode terminals inside the DevContainer. | ||
4. Run `. init.sh` to initialize the dependencies. | ||
5. Compile and install | ||
``` | ||
Check notice on line 6 in mac-setup.md Codacy Production / Codacy Static Code Analysismac-setup.md#L6
|
||
cmake .. -DBUILD_SHARED_LIBS=on && make install | ||
``` | ||
6. Open a terminal tab to start the MQTT server | ||
``` | ||
cd /workspace/docker ; ./mqtt-devcontainer.sh | ||
``` | ||
7. Open a terminal tab to start the Nodered server | ||
``` | ||
cd /workspace/everest-cpp/everest-core/build ; ./run-scripts/nodered-sil.sh | ||
``` | ||
8. Export shared libraries | ||
``` | ||
export LD_LIBRARY_PATH=$(find / -name "*.so*" 2>/dev/null | xargs -I {} dirname {} | sort -u | tr '\n' ':' | sed 's/:$//') | ||
``` | ||
9. Open a terminal tab to start the Software-in-the-loop simulation | ||
``` | ||
cd /workspace/everest-cpp/everest-core/build ; ./run-scripts/run-sil.sh | ||
``` | ||
10. Open http://localhost:1880/ui and test the Charging Station and EV simulators | ||