This repo contains the source code for Raft's website, using Jekyll (based on Centrarium theme).
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
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