Skip to content

Commit d40e84e

Browse files
committed
build: add project setup script
1 parent 4bd5d91 commit d40e84e

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

setup.sh

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#!/bin/bash
2+
3+
# This script automates the process of staging and committing
4+
# specific project files and directories to a Git repository.
5+
6+
echo "Starting the commit process..."
7+
8+
# Add Docker ignore file
9+
echo "Adding .dockerignore..."
10+
git add .dockerignore
11+
git commit -m "build: add Docker ignore configuration"
12+
13+
# Add backend environment configuration
14+
echo "Adding backend environment configuration..."
15+
git add backend/.env.example
16+
git commit -m "config: add backend environment variables template"
17+
18+
# Add backend data directory
19+
echo "Adding backend data directory..."
20+
git add backend/data/
21+
git commit -m "chore: add data directory structure"
22+
23+
# Add backend Python dependencies
24+
echo "Adding backend Python dependencies..."
25+
git add backend/requirements.txt
26+
git commit -m "build: add Python dependencies for backend"
27+
28+
# Add uploads directory
29+
echo "Adding uploads directory..."
30+
git add backend/uploads/
31+
git commit -m "feat: add uploads directory for document storage"
32+
33+
# Add frontend environment configuration
34+
echo "Adding frontend environment configuration..."
35+
git add frontend/.env.example
36+
git commit -m "config: add frontend environment variables template"
37+
38+
# Add frontend documentation
39+
echo "Adding frontend documentation..."
40+
git add frontend/README.md
41+
git commit -m "docs: add frontend README with setup instructions"
42+
43+
# Add setup script
44+
echo "Adding setup script..."
45+
git add setup.sh
46+
git commit -m "build: add project setup script"
47+
48+
echo "All specified files have been committed."
49+
50+
# Final check for any remaining files
51+
echo "Running final git status check:"
52+
git status
53+

0 commit comments

Comments
 (0)