develop- Development branch. All work happens here.production- Production/live deployment branch. Always synced with develop.- DEPRECATED - DO NOT USEmain
IMPORTANT: Always sync develop to production
- Make all changes in the
developbranch - Test your changes locally
- Commit and push to
develop - ALWAYS immediately sync to
production:git checkout production git merge develop git push git checkout develop
Quick sync command:
git checkout production && git merge develop && git push && git checkout developNever use or push to main branch - Only develop and production are used.
The app is a static HTML/CSS/JS application. Serve it with any HTTP server:
Python:
cd c:/Projects/BrainFuel
python -m http.server 8000
# Open http://localhost:8000Node.js:
npx serve c:/Projects/BrainFuelVS Code:
- Install "Live Server" extension
- Right-click
index.html→ "Open with Live Server"
After modifying any .puml files, regenerate the PNG images:
node generate-diagrams.jsThis script:
- Finds all
.pumlfiles indiagrams/ - Converts them to PNG using PlantUML
- Outputs to
images/diagrams/(preserving directory structure)
- Node.js
- Java (for PlantUML)
- PlantUML JAR file at
plantuml.jarin project root
The app is optimized for mobile devices:
- Body padding: 10px desktop, 5px mobile
- View padding: 30px desktop, 15px mobile
- Tab buttons: Responsive sizing with reduced padding on mobile
- Exercise cards: 2-column grid on desktop, single column on mobile
Test mobile layouts by resizing browser or using device emulation tools.
- Use clear, descriptive variable names
- Add comments for complex logic
- Keep functions focused and single-purpose
- Test on both desktop and mobile viewports