Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 125a115

Browse files
committed
addressed conflicts and fixed images
2 parents b21d964 + 596eb94 commit 125a115

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Cortex
22

33
<p align="center">
4-
<img width="1280" alt="Cortex.cpp Banner" src="https://github.com/user-attachments/assets/a27c0435-b3b4-406f-b575-96ac4f12244c">
4+
<img width="1280" alt="Cortex.cpp Banner" src="./assets/cortex-banner.png">
55
</p>
66

77
<p align="center">
@@ -159,8 +159,33 @@ cortex-nightly hardware activate
159159
| **Nightly** | [exe](https://app.cortexcpp.com/download/nightly/windows-amd64-network) | [pkg](https://app.cortexcpp.com/download/nightly/mac-universal-network) | [deb](https://app.cortexcpp.com/download/nightly/linux-amd64-network) |
160160

161161
### Build from Source
162+
162163
```bash
163164
git clone https://github.com/janhq/cortex.cpp
164165
cd engine/vcpkg && ./bootstrap-vcpkg.sh
165166
cd ../build && cmake .. && make -j4
166167
```
168+
169+
## Uninstall Cortex
170+
171+
### Windows
172+
173+
1. Open the Windows Control Panel.
174+
2. Navigate to `Add or Remove Programs`.
175+
3. Search for `cortexcpp` and double click to uninstall. (for beta and nightly builds, search for `cortexcpp-beta` and `cortexcpp-nightly` respectively)
176+
177+
### MacOs/Linux
178+
179+
Run the uninstaller script:
180+
181+
```bash
182+
sudo cortex-uninstall.sh
183+
```
184+
185+
The script to uninstall Cortex comes with the binary and was added to the `/usr/local/bin/` directory. The script is named `cortex-uninstall.sh` for stable builds, `cortex-beta-uninstall.sh` for beta builds and `cortex-nightly-uninstall.sh` for nightly builds.
186+
187+
## Contact Support
188+
189+
- For support, please file a [GitHub ticket](https://github.com/janhq/cortex.cpp/issues/new/choose).
190+
- For questions, join our Discord [here](https://discord.gg/FTk2MvZwJH).
191+
- For long-form inquiries, please email [[email protected]](mailto:[email protected]).

assets/cortex-banner.png

11.7 KB
Loading

engine/main.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ void RunServer(std::optional<std::string> host, std::optional<int> port,
201201
drogon::app().registerController(hw_ctl);
202202
drogon::app().registerController(config_ctl);
203203

204+
auto upload_path = std::filesystem::temp_directory_path() / "cortex-uploads";
205+
drogon::app().setUploadPath(upload_path.string());
206+
204207
LOG_INFO << "Server started, listening at: " << config.apiServerHost << ":"
205208
<< config.apiServerPort;
206209
LOG_INFO << "Please load your model";

0 commit comments

Comments
 (0)