This project is maintained by BeeDrHU
If you want the official documentation from github click here
Before you start, check out my portfolio here
The purpose of this project is to gather all of your hard work and expertise from the last year, and turn it into a online portfolio/resume.
You can put as much effort into this website as you would like. If you have projects from other class you want to include in your resume, please do. It would be awesome to see all of the things you guys have acomplished over your time at Heritage.
The minimum requirements
This project is worth 25% of your grade please take it seriously. As always, if you have any questions feel free to contain me via email or our discord server.
When ready to submit simply send me the link to your portfolio so I can review it. Additionally, our final day of class will be a presentation day for portfolios.
I would recommend starting a new repository for your website because if you are using the free pages that github provides your website domain will be attached to your username and then you can link any files found on your account to your website.
Create a repository just for the website
Navigate to your github home page.
In the top right corner of your screen, you’ll see a + symbol that will give you a drop-down menu. Open the menu and click new repository.
Once you’re on the new repository page, you are going to specify a name for the repository. If you are using the free website option github has the repository name needs to be in this format: username.github.io
Choose the repository visibility. For our portfolio websites it will need to be set to public.
Scroll down and you’ll see a section about initializing with documents. Select “Initialize with a README.
Click Create Repository
Now that you have the repository for your site, we need to activate github pages.
Navigate to the repository you just created.
Open the settings in the repository.
Scroll down until you find the Pages section on your left hand side and click on it.
On the screen, you’ll see a section that says Source. Click on the box under source and select Deploy from a branch.
Next, in the branching section you will see two drop-down menus. One should show your branch options and one should show your folder options. Select the branch location and the folder you want to access. IF you made a new repository for this website you should select main branch and root folder.
Save the new settings and wait for the website to render. Refresh the page periodically and when it’s finished rendering, you’ll find a link at the top of the page that says Your site is live at https://username.github.io/.
That’s all it takes to acitvate your site. You now have a completely customizable website for you to build your portfolio on.
To add content to your website, you can either use html/css/js or jekyll markdown files. Each has positives and negatives and it is 100% a matter of personal preference.
In either case, when you are ready to upload your content to your new website all you have to do is:
Go to your website repository.
Select Add File and then select either create file or upload file.
Commit the changes to the file you are adding.
Wait for the site to render and refresh your website to check the accuracy of the changes you made.
This technique will work for any files you upload.
You can upload sections of code, excel files, pdf, html, css, js, md, pictures, etc. Anything you need can be saved to this repository, or another repository on your account and then you can link between the files through github.
Markdown example for including content For example, let’s say I have uploaded an image into my github pages repository and I know want to include that on my page. All I need to do is this:
syntax
real example
Now, if the file is in a different repository:
Github pages uses a static website generator called Jekyll Markdown, which comes from the Ruby programming language.
Markdown files are very common in programming, other languages like R also support them, and other platforms like Jupyter notebooks are based entirely on the concept of markdown files.
If you choose to write your website in markdown here’s a cheat sheet and a basic syntax guide.
Also, know that you can mix and match your html/css/js and markdown. If you take a look at my README you can see that I have html and css at the bottom of my page to include a contact form.
If you decide to use markdown, Github has free themes that you can use to style your site. Check them out here.
Adding a theme is simple. Follow these steps:
Add a new file to your website repository called _config.yml
title: Dr_Bee's Portfolio
markdown: kramdown
remote_theme: pages-themes/theme-name
plugins:
- jekyll-remote-theme
Commit the changes to the repository.