๐๐ผ๐ ๐๐ผ ๐ฎ๐ฑ๐ฑ ๐บ๐๐๐ถ๐ฝ๐น๐ฒ ๐ฝ๐ฟ๐ผ๐ท๐ฒ๐ฐ๐๐ ๐ถ๐ป ๐๐ถ๐ป๐ด๐น๐ฒ ๐ฟ๐ฒ๐ฝ๐ผ๐๐ถ๐๐ผ๐ฟ๐ - ๐๐๐ง๐๐จ๐
Lets add multiple folders to single repository and make host website using
github pages
Lets get started........
STEP 1:-CREATE A REPOSITORY
open you Github and login
โ click on (+ sign) new repository
โ Give a repository name EX:- multipleprojects (can give any name)
โ click on - PUBLIC
โ Add a README file
โ Create Repository
STEP 2: - UPLOAD MULTIPLE FILES TO REPOSITORY
โ Click on upload files
โ It will open File Explorer
โ Add projects or multiple files to the repository
โ and commit changes
NOTE: Make sure inside your each file containes index.html file ( otherwise it will show page not found / 404 error)
โ you can see your files and which you have uploaded
โ open each file and check containes index.html file or not
STEP 3:- ADDING LINK TO HOST OUR WEBSITES
โ Now go to setting
โ click on pages
โ Select branch name At the source sub-title (none) change to (main)
โ beside that click save
โ you will get a link ( with your git-hub name and repository name ) with ending /
STEP 4:- CREATE A THEME
โ below that Theme choose theme
โ Choose a theme MINIMAL and select theme
โ Commit changes
โ You can see new file named called (_config.yml)
STEP 5 : ADD LINK TO README FILE
โ make sure you are in resposity folder and click setting
โ click on pages you can see the link under GITHUB PAGES copy that link
โ Go to code click on edit icon (pen icon) erase the all code and paste the link you copied and commit changes
STEP 6 : NOW ADD PROJECT LINKS TO README
โ Now open your first project & go to top search bar and copy the text after the ( " / " ) the name of your project/folder
โ click on repository name under README FILE - ( edit pen ) paste after the / sysmbol
โ YOU PROJECT WILLL BE OPEN /(output will be shown)
โ Now lets... do for second project
โ Same as we did first
โ click on repository name
โ go to the top bar (search bar)
โ copy the link after " / " name of the project
โ click on repository name
โ copy the link after " / " name of the project
โ click on repository name under the readme file click ( edit pen )
โ paste that link .
โ commit changes โ click on link your project will be out....
HAPPY LEARNING