Welcome to the Dev Challenge 2025! Follow the steps below to set up your repository and deploy your project successfully.
You need to fork the official repository before making any changes. Follow these steps:
- Click the Fork button in the top-right corner of this repository.
- Name your repository in the following format: Example:
module-f-react-{your-number}module-f-react-1 - Click Create Fork.
GitHub Actions are disabled by default when forking a repository. To enable them:
- Go to your forked repository.
- Click on the Actions tab.
- You should see a message saying workflows are disabled.
- Click Enable workflows to activate GitHub Actions.
Your vite.config.js file must be configured correctly to deploy via GitHub Pages.
- Open the
vite.config.jsfile in your repository. - Make sure the
basefield matches your repository name:import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; export default defineConfig({ plugins: [react()], base: "/module-f-react-{your-number}/", // Replace with your actual repository name });
- Save and commit the changes.
Once you've committed all necessary changes:
- Push your changes to your repository.
- GitHub Actions will automatically build and deploy your project.
- After deployment, your site will be available at:
https://{your-github-username}.github.io/module-f-react-{your-number}/
- Do not change the repository structure.
- Ensure that your project builds and runs without errors.
- The final deployed version must be accessible via GitHub Pages.
Good luck and happy coding! 🚀
- Martynas Kašelionis - Main contributor