This repo contains the source code for:
The site uses Jekyll (based on Centrarium theme). We ♥️ Open Source Software, so Pull Requests are always welcome (check out this section on how to contribute and checkout the open issues)
Table of Contents:
Welcome to Raft! We work together to solve hard problems and we're glad you've decided to join our journey. In order for you to be added to Our Team page, please follow these four steps:
Open a new issue with title Adding <your name>
Create a new branch from master
Update the _data/members.yml
to add your details and add a new file to the _about/
folder
Send a Pull Request from your newly created branch in (1) to master
and tag barakstout
, meissadia
, or omnipresent07
as reviewers
Below is a detailed explanation of each step:
Create Branch
Branch Created
in top leftt
on your keyboard and notice you'll see a cursor prompting you to typemembers.yml
your branch name
- id: firstname_lastname
permalink: /about/firstname_lastname
full_name: Firstname Lastname
role: Your Title
image: <firstname_lastname.jpg> or null (if you don't want your image up)
Commit Changes
)_about
folder and create a new filefirstname_lastname.md
(change it based on your details)---
id: firstname_lastname
permalink: "/about/firstname_lastname"
full_name: Firstname Lastname
title: About - Firstname Lastname
role: Your Title
about: Short bio about yourself
github: your github handle
linkedin: yourlinkedin url
homepage: your homepage url - if applicable
featimg: "/assets/aboutBanner1.jpg" <-- do not change
layout: about/profile <-- do not change
---
Commit New File
assets/profiles/
named firstname_lastname.jpg
New Pull Request
master
to staging
, copy/paste the URL for the issue you created in (0) and type in the body of the PR Addresses <copy paste URL of the ticket>
, and click Create pull request
staging
from your branch
and the number of files changed is still 2barakstout
, meissadia
, or omnipresent07
as reviewersstaging
branch to be merged into the master
. Once that Pull Reuqest is merged in by the reviewer, the changes will show up on the main website - http://goraft.tech/_data/members/yml
- id: firstname_lastname
permalink: /about/firstname_lastname
full_name: Firstname Lastname
role: Title
image: firstname_lastname.jpg or null if you don't want your image up
/_about
titled /_about/firstname_lastname.md
---
id: firstname_lastame
permalink: "/about/firstname_lastname"
full_name: Firstname Lastname
title: About - Firstname Lastname
role: Your title
about: Your Bio
github: "Your GitHub URL"
linkedin: "Your Linkedin URL"
featimg: "/assets/aboutBanner1.jpg" <-- do not change
layout: about/profile <-- do not change
---
firstname_lastname.jpg
and put it in assets/profiles/
staging
. Review your PR. Tag barakstout
, meissadia
, or omnipresent07
as reviewers.A blog post comprises for three things:
Have your blog post in Markdown format. Copy/Paste the below into the editor.
---
layout: post
title: "Really long blog title"
short_title: "Shorter title"
date: 2021-07-14
categories:
featimg: /assets/images/featimage/...
bgimg: /assets/images/bgimg/...
author: Angela Milash
---
Open a new issue
Name of the blog title - by John Doe
Click Submit New Issue
Tag either barakstout
, meissadia
, or omnipresent07
for review
Have your blog post in Markdown format. Copy/Paste the below into the editor.
---
layout: post
title: "Really long blog title"
short_title: "Shorter title"
date: 2021-07-14
categories:
featimg: /assets/images/featimage/...
bgimg: /assets/images/bgimg/...
author: Angela Milash
---
Open a PR that:
_/posts
in the format YYYY-DD-MM-title-of-the-post.md
assets/images/bgimage
assets/images/featimage
Open a PR for barakstout
, meissadia
, or omnipresent07
for review
To run the site locally from source, you will need to Install Jekyll for which you'll need Ruby. We recommend:
➜ curl -sSL https://get.rvm.io | bash -s stable
➜ ~ rvm version
rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
➜ ~ rvm install "ruby-2.6.4"
cd ~/
mkdir raft
cd raft
git clone git@github.com:raft-tech/raft-tech.github.io.git
cd raft-tech.github.io.git
gem install bundler
bundle install
bundle exec jekyll pagemaster --no-permalink about
#If you are running this with ruby 3.0+, run the command 'bundle add webrick'
bundle exec jekyll serve
# raft website avilable at http://localhost:4000
M1 Based Macs follow the instructions here to install ruby
Simply clone the repo cd into the root folder in terminal and run docker-compose up
point your browser to http://localhost:4000
and get to work.
Build and deploy locally using Docker
docker build . -t=raft-website
docker run -p 80:80 raft-website
Update the Image
value in raft-website-deploy
and deploy raft-website
on Kubernetes:
kubectl apply -f kubernetes/raft-website-deploy.yaml
kubectl apply -f kubernetes/raft-website-svc.yaml
To get the external IP:
kubectl get svc raft-website-svc