feat(script): Add installation script

This commit is contained in:
Björn Benouarets
2025-11-29 03:15:25 +01:00
parent 0c9d70df97
commit 7e187f1543
2 changed files with 27 additions and 1 deletions

View File

@@ -86,4 +86,13 @@ Uses PostgreSQL with GORM ORM. The application auto-migrates models on startup.
- No tests currently exist in the codebase
- Application is currently in early development state
- Configuration file path expects to be relative to the app directory (`../config.yaml`)
- Database connection is established during application startup with auto-migration
- Database connection is established during application startup with auto-migration
## Commit Guidelines
**Important**: All commits must be AI-free and should not include any references to AI tools, Claude, or automated code generation. Focus commit messages on the technical changes made rather than how they were implemented.
## Additional Notes
- The service includes reverse proxy functionality with path transformation
- Docker configuration is available for containerized deployment

17
install.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# Check if docker and docker compose or docker-compose is installed
if ! command -v docker &> /dev/null; then
echo "docker could not be found"
exit 1
fi
if ! command -v docker-compose &> /dev/null; then
echo "docker-compose could not be found"
exit 1
fi
if ! command -v docker compose &> /dev/null; then
echo "docker compose could not be found"
exit 1
fi