Skip to content

Commit e6912fe

Browse files
committed
Add MAc setup instructions
1 parent 47ffcda commit e6912fe

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

mac-setup.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
1. Clone the repository `git clone [email protected]:EVerest/everest-utils.git`
2+
2. From inside VSCode, type `Cmd+Shift+P`
3+
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+
4. Run `. init.sh` to initialize the dependencies.
5+
5. Compile and install
6+
```
7+
cmake .. -DBUILD_SHARED_LIBS=on && make install
8+
```
9+
6. Open a terminal tab to start the MQTT server
10+
```
11+
cd /workspace/docker ; ./mqtt-devcontainer.sh
12+
```
13+
7. Open a terminal tab to start the Nodered server
14+
```
15+
cd /workspace/everest-cpp/everest-core/build ; ./run-scripts/nodered-sil.sh
16+
```
17+
8. Export shared libraries
18+
```
19+
export LD_LIBRARY_PATH=$(find / -name "*.so*" 2>/dev/null | xargs -I {} dirname {} | sort -u | tr '\n' ':' | sed 's/:$//')
20+
```
21+
9. Open a terminal tab to start the Software-in-the-loop simulation
22+
```
23+
cd /workspace/everest-cpp/everest-core/build ; ./run-scripts/run-sil.sh
24+
```
25+
10. Open http://localhost:1880/ui and test the Charging Station and EV simulators

0 commit comments

Comments
 (0)