feat: Initialize frontend and backend structure with essential configurations
- Added TypeScript build info for frontend. - Created Vite configuration for React application. - Implemented pre-commit hook to run checks before commits. - Set up PostgreSQL Dockerfile with PostGIS support and initialization scripts. - Added database creation script for PostgreSQL with necessary extensions. - Established Python project configuration with dependencies and development tools. - Developed pre-commit script to enforce code quality checks for backend and frontend. - Created PowerShell script to set up Git hooks path.
This commit is contained in:
8
scripts/setup_hooks.ps1
Normal file
8
scripts/setup_hooks.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$repoRoot = (Resolve-Path "$PSScriptRoot\..").Path
|
||||
$hookPath = Join-Path $repoRoot "githooks"
|
||||
|
||||
Write-Host "Configuring git hooks path to: $hookPath"
|
||||
git config core.hooksPath "$hookPath"
|
||||
Write-Host "Git hooks configured. Hooks sourced from $hookPath"
|
||||
Reference in New Issue
Block a user