-
Notifications
You must be signed in to change notification settings - Fork 24
Tasks
Wout Dillen edited this page Mar 22, 2022
·
2 revisions
- Visit the front page of this repository
- Click on the green button saying
Use this template - Choose a name for your own project.
- You now have a version of it on your account!
- Open GitHub Desktop
- Click on
Add>Clone Repository... - Select the forked repository
- Select a place where to save your clone of the repository
- Click on the 'History' tab to get an overview of all the repository's past commits.
- Go to your account
- Find your repository
- Find the
Settingsbutton - Find the
Pagestab (in the left sidebar) - Select the
mainbranch to publish your pages - Select the
/docsfolder to publish your pages - Hit
Save - Done!
Every time you push one or more commits to your online repository now, GitHub will try to deploy your website. This will take a minute, but afterwards your website will be automatically updated with the new changes.
- Go back to the home page of your repository
- Wait for a green check mark to appear next to the hash-code of your commit.
- GitHub is done deploying your website now
- Refresh the page
- On the right side bar, there should be a section called
Environments - Click on the section title, or on the link called
GitHub-pages - Find the
View Deploymentbutton - Admire your work
- Copy the URL to this page
- Go back to the home page of your repository
- On the readout of
README.md(below the list of files and folders in your repository), click on the pencil icon (edit) - Delete the URL on line 3, and replace it with the URL to your own website
- Scroll down, and hit the green
commit changesbutton - Your
README.mdfile now links to your own website! - Go to GitHub Desktop
- Click on the
Fetch Originand/orPull origintab. - Your local repository is now up to date (and also includes the right link.
Start making changes to your repository (on your local computer). Change the CSS rules, change the image, change the HTML. You can exchange the data for data that is more relevant to your own project. When you make changes, commit them in Google Desktop. Every now and then, push your commits to your online repository. See how it changes the look of your website.