Before starting development, ensure you have:
- Docker installed on your system
- Basic knowledge of Rust programming
- Familiarity with Linux development
Clone the OblivionOS Desktop repository:
git clone https://github.com/skygenesisenterprise/oblivion-desktop.git
cd oblivion-desktopThe project uses Docker to provide a consistent Debian 13 Trixie environment:
# Build the Docker image
docker build -t oblivion-desktop .
# Run the development container
docker run -it --rm -v $(pwd):/workspace oblivion-desktopOnce inside the container, you can:
- Build the project:
./build.sh - Run tests:
./test.sh - Launch the application:
./run.sh
- Make changes to the Rust code
- Build using
./build.sh - Test with
./test.sh - Run with
./run.shto see the UI
The Docker image includes:
- Rust toolchain (latest stable)
- SDL2 development libraries
- Essential build tools
- Git for version control
- Ensure Docker is running
- Check that you have sufficient disk space
- Verify network connectivity for downloading dependencies
- Clear cargo cache:
cargo clean - Update Rust:
rustup update - Check SDL2 installation:
pkg-config --libs sdl2
- Ensure X11 forwarding for GUI applications
- Check SDL2 runtime libraries
- Verify display environment variables