Blog that documents my issues and experiences in CSP
Setting Up Tools and Equipment π οΈ
Operating System Setup π»
Install essential tools:
- Homebrew (macOS package manager)
- VSCode (code editor)
Run setup scripts:
```bash
./scripts/activate_macos.sh
./scripts/activate.sh # prompts for Git UID and Personal Email
./scripts/venv.sh
Verify installation β
:
bash python βversion # Shows Python version pip βversion # Shows pip version ruby -v # Shows Ruby version bundle -v # Shows Bundler version gem βversion # Shows RubyGems version git config βglobal βlist # Lists Git configuration VSCode Configuration π§ Configure extensions, themes, and settings for development.
Project Creation and Access π Find Your Repository: Navigate to your repo on GitHub (e.g., https://github.com/YOUR-ORG/pages) and copy the URL.
Clone Repository:
bash cd # Move to home directory mkdir -p YOUR-ORG # Create organization directory cd YOUR-ORG # Enter directory git clone https://github.com/YOUR-ORG/student.git # Clone repo Set Up Environment:
bash cd student ./scripts/venv.sh source venv/bin/activate bundle install code . Start Local Server π:
bash make # Builds and serves Jekyll site locally Version Control and Management π GitHub Features π Repositories π
Branches πΏ
Forks π΄
Issues π
Kanban Boards π
GitHub Pages π
Actions β‘
VSCode Version Control ποΈ bash git add . # Stage all changes git commit -m βYour messageβ # Commit changes git push origin main # Upload changes git pull origin main # Download remote changes git checkout -b feature-name # Create & switch to new branch git checkout main # Switch back to main branch Merge Conflicts βοΈ: Resolve when multiple edits happen.
Staging π: Select changes to include.
History π: View commit history.
Essential Commands π» Basic Shell Commands π bash ls # List files and directories pwd # Print current directory mkdir # Make new directories cd # Change directory git # Version control commands cat # Display file contents Helpful Tips & Tricks π‘ Multi-Repository Workspace ποΈ:
bash code YOUR-ORG/student YOUR-ORG/pages Check Git Configuration βοΈ:
bash cat .git/config Progress & Reflections π Prior experience from CSSE and CSA helped initial setup.
Some outdated software required updates.
Key Learning Experiences π New Command-Line Skills:
code ~ β Open VSCode in home directory
code YOUR-ORG/student YOUR-ORG/pages β Open multiple repos in one workspace
cat .git/config β Display Git configuration
Virtual environment setup using ./scripts/venv.sh
Peer Teaching Benefits: Helping classmates troubleshoot strengthened my understanding.
Technical Challenges & Solutions βοΈ Jupyter Notebook Integration π Execute code cells via Help β Toggle Developer Tools β Console
Create DOM elements using %%html magic commands
Implement JavaScript for interactive content:
html %%html
Repository Management Insights ποΈ GitHub Organizations vs Public Repos: Public repos donβt automatically enable collaboration features.
Solution: Create a GitHub organization for full team access.
Theme Customization π¨ Use make help to explore options
Update files:
Gemfile (Ruby dependencies)
_config.yml (Jekyll configuration)
post.html (template files)