Skip to content

Latest commit

 

History

History
executable file
·
40 lines (32 loc) · 1.32 KB

README.md

File metadata and controls

executable file
·
40 lines (32 loc) · 1.32 KB

Raft Website

Website Website

This repo contains the source code for Raft's website, using Jekyll (based on Centrarium theme).

Localhost

To run the site locally from source, you will need to Install Jekyll and then:

cd ~/
mkdir raft
cd raft
git clone [email protected]:raft-tech/raft-tech.github.io.git
cd raft-tech.github.io.git
gem install bundler
bundle exec jekyll pagemaster --no-permalink about
bundle exec jekyll serve

# raft website avilable at http://localhost:4000

Docker

Build and deploy locally using Docker

docker build . -t=raft-website

docker run -p 80:80 raft-website

Kubernetes Config Files

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