Skip to content

Commit 8a0b60f

Browse files
committed
Add README.md and install-oatpp-modules.sh to all examples
1 parent e89321a commit 8a0b60f

File tree

10 files changed

+236
-0
lines changed

10 files changed

+236
-0
lines changed

async-server-rooms/README.md

Whitespace-only changes.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/bin/sh
2+
3+
rm -rf tmp
4+
5+
mkdir tmp
6+
cd tmp
7+
8+
##########################################################
9+
## install oatpp
10+
11+
MODULE_NAME="oatpp"
12+
13+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
14+
15+
cd $MODULE_NAME
16+
mkdir build
17+
cd build
18+
19+
cmake ..
20+
make install
21+
22+
cd ../../
23+
24+
##########################################################
25+
## install oatpp-websocket
26+
27+
MODULE_NAME="oatpp-websocket"
28+
29+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
30+
31+
cd $MODULE_NAME
32+
mkdir build
33+
cd build
34+
35+
cmake ..
36+
make install
37+
38+
cd ../../
39+
40+
##########################################################
41+
42+
cd ../
43+
44+
rm -rf tmp

async-server/README.md

Whitespace-only changes.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/bin/sh
2+
3+
rm -rf tmp
4+
5+
mkdir tmp
6+
cd tmp
7+
8+
##########################################################
9+
## install oatpp
10+
11+
MODULE_NAME="oatpp"
12+
13+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
14+
15+
cd $MODULE_NAME
16+
mkdir build
17+
cd build
18+
19+
cmake ..
20+
make install
21+
22+
cd ../../
23+
24+
##########################################################
25+
## install oatpp-websocket
26+
27+
MODULE_NAME="oatpp-websocket"
28+
29+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
30+
31+
cd $MODULE_NAME
32+
mkdir build
33+
cd build
34+
35+
cmake ..
36+
make install
37+
38+
cd ../../
39+
40+
##########################################################
41+
42+
cd ../
43+
44+
rm -rf tmp

client-mbedtls/README.md

Whitespace-only changes.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
#!/bin/sh
2+
3+
rm -rf tmp
4+
5+
mkdir tmp
6+
cd tmp
7+
8+
##########################################################
9+
## install oatpp
10+
11+
MODULE_NAME="oatpp"
12+
13+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
14+
15+
cd $MODULE_NAME
16+
mkdir build
17+
cd build
18+
19+
cmake ..
20+
make install
21+
22+
cd ../../
23+
24+
##########################################################
25+
## install oatpp-websocket
26+
27+
MODULE_NAME="oatpp-websocket"
28+
29+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
30+
31+
cd $MODULE_NAME
32+
mkdir build
33+
cd build
34+
35+
cmake ..
36+
make install
37+
38+
cd ../../
39+
40+
##########################################################
41+
## install oatpp-mbedtls
42+
43+
MODULE_NAME="oatpp-mbedtls"
44+
45+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
46+
47+
cd $MODULE_NAME
48+
mkdir build
49+
cd build
50+
51+
cmake ..
52+
make install
53+
54+
cd ../../
55+
56+
##########################################################
57+
58+
cd ../
59+
60+
rm -rf tmp

client/README.md

Whitespace-only changes.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/bin/sh
2+
3+
rm -rf tmp
4+
5+
mkdir tmp
6+
cd tmp
7+
8+
##########################################################
9+
## install oatpp
10+
11+
MODULE_NAME="oatpp"
12+
13+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
14+
15+
cd $MODULE_NAME
16+
mkdir build
17+
cd build
18+
19+
cmake ..
20+
make install
21+
22+
cd ../../
23+
24+
##########################################################
25+
## install oatpp-websocket
26+
27+
MODULE_NAME="oatpp-websocket"
28+
29+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
30+
31+
cd $MODULE_NAME
32+
mkdir build
33+
cd build
34+
35+
cmake ..
36+
make install
37+
38+
cd ../../
39+
40+
##########################################################
41+
42+
cd ../
43+
44+
rm -rf tmp

server/README.md

Whitespace-only changes.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/bin/sh
2+
3+
rm -rf tmp
4+
5+
mkdir tmp
6+
cd tmp
7+
8+
##########################################################
9+
## install oatpp
10+
11+
MODULE_NAME="oatpp"
12+
13+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
14+
15+
cd $MODULE_NAME
16+
mkdir build
17+
cd build
18+
19+
cmake ..
20+
make install
21+
22+
cd ../../
23+
24+
##########################################################
25+
## install oatpp-websocket
26+
27+
MODULE_NAME="oatpp-websocket"
28+
29+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
30+
31+
cd $MODULE_NAME
32+
mkdir build
33+
cd build
34+
35+
cmake ..
36+
make install
37+
38+
cd ../../
39+
40+
##########################################################
41+
42+
cd ../
43+
44+
rm -rf tmp

0 commit comments

Comments
 (0)