REST API and C++ library for parsing ODB++ Design archives
The scripts/setup-linux.sh script provides an automated way to set up a complete development environment for OdbDesign on Linux systems.
Running scripts from the internet can execute arbitrary code on your system! Always approach with caution and verify scripts are safe before running them on your own system. Since this script is open-source, you can view the entire contents at: https://github.com/nam20485/OdbDesign/blob/main/scripts/setup-linux.sh
We encourage you to review the script for yourself before running it to ensure it meets your security requirements.
# Clone the repository
git clone https://github.com/nam20485/OdbDesign.git
cd OdbDesign
# Run the setup script
./scripts/setup-linux.sh
That’s it! The script will handle everything automatically.
./scripts/setup-linux.sh [OPTIONS]
OPTIONS:
-h, --help Show help message
-d, --debug Build in Debug mode (default: Release)
-t, --tests Build and run tests
--no-docker Skip Docker installation
--skip-build Only install dependencies, skip building
--vcpkg-dir DIR Custom vcpkg installation directory (default: ~/vcpkg)
# Basic setup and build
./scripts/setup-linux.sh
# Debug build with tests
./scripts/setup-linux.sh --debug --tests
# Skip Docker installation
./scripts/setup-linux.sh --no-docker
# Only install dependencies, don't build
./scripts/setup-linux.sh --skip-build
# Use custom vcpkg directory
./scripts/setup-linux.sh --vcpkg-dir /opt/vcpkg
apt package managerdnf package manageryum package managerpacman package managerzypper package managerIf the script fails:
If you prefer manual setup, see the BUILD.md documentation for step-by-step instructions.