You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-10Lines changed: 21 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,35 +87,46 @@ We are assuming that you are running Linux or macOS. We recommend that Windows u
87
87
88
88
Follow the following two steps:
89
89
90
-
1. Make sure that you have [docker installed and running](https://docs.docker.com/engine/install/) on your system. Most Linux distributions support docker though some (like RedHat) have the equivalent (Podman). Users of Apple systems may want to [consider OrbStack](https://orbstack.dev). You do not need to familiar with docker, you just need to make sure that you are have it running.
91
-
2. Navigate to our repository `experimental_json_builder` and run `./run_docker.sh bash`, this will enter a bash shell with access to the repo directory. Note that this will take some time when running it for the first time, since the specific container image has to be built.
Now you should be able to run the following commands (on the `experimental_json_builder/src`):
96
+
2. Make sure that you have [docker installed and running](https://docs.docker.com/engine/install/) on your system. Most Linux distributions support docker though some (like RedHat) have the equivalent (Podman). Users of Apple systems may want to [consider OrbStack](https://orbstack.dev). You do not need to familiar with docker, you just need to make sure that you are have it running.
97
+
98
+
3. Navigate to our repository `experimental_json_builder` and run
95
99
96
-
1. Firstly, configure the build system with cmake:
100
+
```bash
101
+
./run_docker.sh bash`
102
+
```
103
+
104
+
This will enter a bash shell with access to the repo directory. Note that this will take some time when running it for the first time, since the specific container image has to be built.
105
+
106
+
107
+
4. Configure the build system with cmake:
97
108
```bash
98
109
cmake -B build
99
110
```
100
111
This only needs to be done once.
101
112
102
-
2. Build the code...
113
+
5. Build the code...
103
114
```bash
104
115
cmake --build build
105
116
```
106
117
107
-
3. Run the executable.
118
+
119
+
6. Run the tests...
108
120
```bash
109
-
./build/src/ExperimentalJsonBuilder
121
+
ctest --test-dir build --output-on-failure
110
122
```
111
123
112
-
113
-
4. Run the benchmark.
124
+
7. Run the benchmark.
114
125
```bash
115
126
./build/benchmarks/src/SerializationBenchmark
116
127
```
117
128
118
-
You can modify the source code with your favorite editor and run again steps 2 (Build the code) and 3 (Run the executable) and 4 (Run the benchmark).
129
+
You can modify the source code with your favorite editor and run again steps 5 (Build the code) and 6 (Run the tests) and 7 (Run the benchmark).
0 commit comments