feat(script): Add installation script
This commit is contained in:
11
CLAUDE.md
11
CLAUDE.md
@@ -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
17
install.sh
Normal 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
|
||||
Reference in New Issue
Block a user