File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,23 @@ This **C++ SDK** is built from scratch as a **prototype** for interacting with A
2020![ Appwrite] ( https://github.com/appwrite/appwrite/raw/main/public/images/github.png )
2121
2222
23+ ## Installation
24+
25+ ### Build From Source Code
26+
27+ Clone the repository and run the following commands
28+ ``` bash
29+ mkdir build
30+ cd build
31+ cmake ..
32+ make
33+ ```
34+
35+ Install the SDK.
36+ ``` bash
37+ sudo make install
38+ ```
39+
2340## Getting Started
2441
2542### Make Your First Request
@@ -74,6 +91,16 @@ The Appwrite C++ SDK raises `AppwriteException` object with `message`, `code` an
7491 }
7592```
7693
94+ ### Compilation & Execution
95+
96+ ```bash
97+ # Compile
98+ g++ -o <output-file-name> <your-file-name>.cpp -I/usr/local/include/AppwriteSDK -L/usr/local/lib -lAppwriteSDK -lcurl
99+
100+ # Execute
101+ ./output-file-name
102+ ```
103+
77104For a more detailed view of the implementations, please check out the example directory. [ Example] ( /examples/ )
78105
79106### Learn more
You can’t perform that action at this time.
0 commit comments