The purpose of this post is to help you create a report website to for a team project. Sharing your work with the class and the broader community is important, as you should generate a persistent portfolio of class work to demonstrate your abilities when you apply for a job or academic career.
We will be using github to host and share websites this year. This is for a couple reasons:
Note: This template extends the basic website creation tutorial by making it possible to clone an existing repository, which uses mkdocs
Go to Github.com
Create an account under the free plan
Verify your email, and sign in.
Once created, go to https://github.com/embedded-systems-design/template_report and click on the “fork” link.
Note: Forking a repository creates a new repository that is linked through github to the original.
fork |
fork screen |
to make a website at https://<yourusername>.github.io
For example, for user
danaukestest01
, we need to name the new repositorydanaukestest01.github.io
Go to settings and then select “pages” from the links on the left side.
under “branch”, select “gh-pages”
select gh-pages |
next to the gh-pages option, select “/root” as the folder
select /root |
save
Go to “Actions”. If there are no errors, your page will build and show a green check box(this can take ~5 minutes):
successfully built |
Navigate to your web-page. Your page should now be visible at https://your-username.github.io
If you are forking the repository into an organization, check that
If you are forking the repository into your user account, check that
If, after you have checked the above settings, often renaming the workflow file will initiate builds, (for whatever reason).
.github/workflows/
.pages.yml
to something else (main.yml
worked for me).This seems to be required only once.