index.html is common html, you can customize anything, this is a quick start to replace the content.
Assume you have forked master branch and created new branch named base_line
, you want to upload xCAT introduction video
and change user scenarios
for the index.html
in your Macbook.
xCAT introduction video
Git clone base_line
branch to your Macbook
git clone -b base_line https://github.com/bybai/xcat2.github.io.git
Copy new video introduction.mp4
into xcat2.github.io.git/webcontent/assets
directory to replace old video power9.mov
.
cp introduction.mp4 xcat2.github.io.git/webcontent/assets
git add introduction.mp4
git rm power9.mov
Edit index.html
, and find power9.mov
, change it as introduction.mp4
, save the page
Use firefox
browser in your Macbook to open index.html
to check the results
user scenarios
text contentfirefox
browser index.html
, open the index.html
using vim
, find "Top 1 and 2 High performance computing" and edit it, save the page
vim index.html
git add index.html
firefox
browser in your Macbook to open index.html
to check the resultsgit
to commit and push your results to your own branchgit diff --cached
git commit -a -m "update ..."
git push