29 lines
476 B
Markdown

## Setup
pacman -S crow asio gdb gcc cmake make sqlite3 libsodium
## Build
### vscode
build : Ctrl+Shift+P → "CMake: Configure"
run : F5 or Run → Start Debugging
### CompileDB
```
cmake -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
```
## Make Package
1. tar the source files to make it cleaner
```
tar czf pkg/lf-server-admin-panel-0.1.1.tar.gz src/ static/ templates/ lf-server-admin-panel.service CMakeLists.txt
```
2. create the package
```
makepkg -f
```