These instructions will help students to clone and host the React app on their GitHub Pages.
- GitHub account
-
Clone the Repository:
git clone https://github.com/lawrencemuema/Nebula.git cd Nebula git checkout -b gh-pages git add . git commit -m "Add build files for GitHub Pages" git push origin gh-pages
-
Using Github webpage:
Go to your GitHub repository. Navigate to "Settings" > "Pages" in the sidebar. Select the "gh-pages" branch and the "root" directory.
After a few minutes, your React app will be available at https://your-username.github.io/your-repo/.
*If you face any redirection issues please reload the homepage: yourgh-pages/Nebulahttps://your-username.github.io/your-repo/.