-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_github.sh
More file actions
executable file
·59 lines (54 loc) · 1.88 KB
/
setup_github.sh
File metadata and controls
executable file
·59 lines (54 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
# MSL Engine GitHub Setup Script
# This script helps you create a GitHub repository for the MSL Engine project
echo "🚀 Setting up GitHub repository for MSL Engine..."
echo ""
# Check if we're in the right directory
if [ ! -f "Cargo.toml" ]; then
echo "❌ Error: Please run this script from the msl-engine directory"
exit 1
fi
# Check git status
if [ -z "$(git status --porcelain)" ]; then
echo "✅ Working directory is clean"
else
echo "⚠️ Warning: You have uncommitted changes"
echo " Consider committing them before pushing to GitHub"
echo ""
fi
echo "📋 Next steps to create your GitHub repository:"
echo ""
echo "1. Go to https://github.com/new"
echo "2. Repository name: msl-engine"
echo "3. Description: Rust-based web scraping engine with custom DSL"
echo "4. Make it Public or Private (your choice)"
echo "5. DO NOT initialize with README (we already have one)"
echo "6. Click 'Create repository'"
echo ""
echo "7. After creating the repository, run these commands:"
echo ""
echo " git remote add origin https://github.com/YOUR_USERNAME/msl-engine.git"
echo " git branch -M main"
echo " git push -u origin main"
echo ""
echo "8. Replace YOUR_USERNAME with your actual GitHub username"
echo ""
echo "🎉 Your MSL Engine will then be live on GitHub!"
echo ""
echo "📖 Documentation: The docs/ folder is excluded from this repository"
echo " You can host the documentation separately or add it later"
echo ""
echo "📦 What's included in this repository:"
echo " ✅ Source code (src/)"
echo " ✅ Examples (examples/)"
echo " ✅ Cargo.toml and Cargo.lock"
echo " ✅ README.md"
echo " ✅ .gitignore"
echo ""
echo "🚫 What's excluded:"
echo " ❌ Documentation (docs/)"
echo " ❌ Downloaded images and media"
echo " ❌ Build artifacts (target/)"
echo " ❌ Generated files"
echo ""
echo "Ready to create your GitHub repository! 🚀"