Skip to content

Commit

Permalink
Add MAc setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiolnm committed Apr 20, 2024
1 parent 47ffcda commit 710af43
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions mac-setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
1. Clone the repository `git clone [email protected]:EVerest/everest-utils.git`

Check notice on line 1 in mac-setup.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

mac-setup.md#L1

First line in a file should be a top-level heading
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.

Check notice on line 3 in mac-setup.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

mac-setup.md#L3

Expected: 80; Actual: 180
4. Run `. init.sh` to initialize the dependencies.
5. Compile and install `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
```

Check notice on line 11 in mac-setup.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

mac-setup.md#L11

Fenced code blocks should be surrounded by blank lines

Check notice on line 11 in mac-setup.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

mac-setup.md#L11

Fenced code blocks should have a language specified
export LD_LIBRARY_PATH=$(find / -name "*.so*" 2>/dev/null | xargs -I {} dirname {} | sort -u | tr '\n' ':' | sed 's/:$//')

Check notice on line 12 in mac-setup.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

mac-setup.md#L12

Expected: 80; Actual: 122
```
9. Open a terminal tab to start the Software-in-the-loop simulation

Check notice on line 14 in mac-setup.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

mac-setup.md#L14

Expected: 1; Actual: 9; Style: 1/2/3
```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

Check notice on line 16 in mac-setup.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

mac-setup.md#L16

Expected: 2; Actual: 10; Style: 1/2/3

0 comments on commit 710af43

Please sign in to comment.