This is a Jekyll website template designed for Prep Fellows.
- Follow the steps below to set up Ruby on your local machine depending on the Operating System you are using. You can skip this if you have Ruby and Bundler installed.
- On the terminal run
sudo apt-get update
- Install Ruby by running
sudo apt-get install ruby ruby-dev
- Set up the bundler by using this command
sudo gem install bundler
- Install Dependencies by running
bundle install --path vendor/bundle
. - Then start the server by running
bundle exec jekyll serve
.
- Open PowerShell terminal and run
gem install bundler
. After the process is completed successfully if the message ‘1 gem installed’ is displayed then the process is completed successfully. - Install Dependencies by running
bundle install --path vendor/bundle
. - Then start the server by running
bundle exec jekyll serve
.
- Install Ruby Using rvm by running
rvm install ruby
- Make the ruby you have just installed default by using rvm. run
rvm --default use ruby
- Install bundler by running
gem install bundler
- Then install the dependancies by running
bundle install
- Start the server
bundle exec jekyll serve
Alternatively
- Mac comes with a version of Ruby already installed. You can check the version by running
ruby -v
- Install Homebrew package manager by running
(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Use the package manager to install Ruby by running
brew install ruby
- Update PATH by running
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
. This updates Bash profile but not your current environment. So open a new terminal and runsource ~/.bash_profile
to update your environment. - Install bundler by running
gem install bundler
- Then install the dependancies by running
bundle install
- Start the server
bundle exec jekyll serve
- Install Docker from the Docker official page
$ git clone https://github.com/MLH-Fellowship/prep-portfolio-22.NOV.PREP.2.git
$ cd prep-portfolio-22.NOV.PREP.2/
$ docker-compose up
- After forking the repository:
$ git clone https://github.com/Username/prep-portfolio-22.NOV.PREP.2.git
- 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