- Use the Template button.
- Update
_config.yml
to contain your information.- Change
url
to the URL you'll be hosting it at - Make sure it has the /
- Change
- Use something like Netlify or GitHub Pages to deploy (note, this only works on username.github.io, not username.github.io/repo-name)
Head to _data
and fill out either projects.yml
, experience.yml
and education.yml
.
Project example.
- title: Online Shopping Application
event: MLH Prep - Batch 4.5
date: Fall 2021
Experience example.
- role: MLH Prep Fellow
company: MLH Fellowship
dates: Summer 2021
logo: fellowship.svg
Education example.
- course: Prep Fellow
institute: MLH Fellowship
dates: Fall 2021
logo: fellowship.svg
- Make a new
.md
file inside ofprojects
. - Add the header to your markdown file (see below) and change the title to the name of your blog post.
- Write your project page! Can be a README from GitHub or your Devpost page.
- Add the
page-name
field to yourprojects.yml
(see below).
Top of post markdown file post.
---
title: Project
layout: page
---
projects.yml
with the page-name
field.
- title: Online Shopping Application
event: MLH Prep - Batch 4.5
date: Summer 2021
page-name: project
Check if ruby is already installed
ruby-v
You can check bundler with:
bundler-v
If you don't have ruby and bundler, you can install with:
brew install ruby
gem install bundler
Then run these commands to set up this project:
bundle config set --local path 'vendor/bundle'
bundle exec jekyll serve
Check if ruby is already installed by running
ruby -v
If not, install it by running
sudo pacman -S ruby
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export PATH="$PATH:$GEM_HOME/bin"
Then restart ypur device or run
source ~/.profile
Install bundler by running
gem install bundler
Change directory to project home and setup environment by running
bundle install --path vendor/bundle
Finally start your local dev server
bundle exec jekyll serve --livereload
Download the executable from the offical page of ruby and after that run these commands in the root directory of the project
bundle install --path vendor/bundle
bundle exec jekyll serve
git clone https://github.com/MLH-Fellowship/pod-4.1.0-portfolio
cd ./pod-4.1.0-portfolio
bundle install --path vendor/bundle
bundle exec jekyll serve
-
Create a Google account if you don't have one
-
Sign in to your Analytics account
-
Click Admin
-
Select an account from the menu in the ACCOUNT column.
-
Select a property from the menu in the PROPERTY column.
-
Under PROPERTY, click Tracking Info -> Tracking Code. Your Tracking ID will be displayed at the top of the page
-
Inside _config.yml file, simply enter your tracking id under google-analytics field.
If you get stuck in any of these steps, refer here.
Feel free to ask in the Disussions
if (youEnjoyed) {
starThisRepository();
}