This directory contains setup files for configuring the GitHub Copilot coding agent environment with all required software and dependencies for the WorkoutApp project.
YAML configuration file that defines all software requirements, external dependencies, and setup commands needed for the GitHub Copilot environment. This file serves as documentation and can be used to configure automated setup steps.
Executable bash script that performs the actual installation of all required software. This script should be run before the firewall is enabled in the GitHub Copilot environment.
To set up the environment, run:
./.github/copilot-setup.sh
The WorkoutApp project requires:
- Node.js 20: For running the development server and npm packages
- Python 3.9+: For the local HTTP server (
python3 -m http.server
) - Chrome browser: For Cypress end-to-end testing
- npm packages: Jest, Cypress, Babel, and other dev dependencies
The following external resources may be blocked by firewall and should be allowlisted:
fonts.googleapis.com
- Google Fonts CSSfonts.gstatic.com
- Google Fonts assetsredirector.gvt1.com
- Chrome/Chromium resources
- Add the domains above to the Copilot coding agent allowlist
- Run the setup script before firewall activation
- Or configure GitHub Actions setup steps to install requirements
After setup, verify the installation:
# Unit tests (106 tests)
npm run test:unit
# E2E tests (119 tests)
npm start & # Start server
npm run test:e2e # Run Cypress tests
If tests fail due to blocked domains:
- Check the Copilot agent settings to ensure domains are allowlisted
- Verify all software is properly installed with
--version
commands - Ensure the local server is running on port 8000 for E2E tests
This setup configuration ensures the WorkoutApp development environment works correctly within GitHub Copilot's sandboxed environment while respecting firewall restrictions.