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.
- Git clone
base_linebranch to your Macbook
git clone -b base_line https://github.com/bybai/xcat2.github.io.git
- Copy new video
introduction.mp4intoxcat2.github.io.git/webcontent/assetsdirectory to replace old videopower9.mov.
cp introduction.mp4 xcat2.github.io.git/webcontent/assets
git add introduction.mp4
git rm power9.mov
-
Edit
index.html, and findpower9.mov, change it asintroduction.mp4, save the page -
Use
firefoxbrowser in your Macbook to openindex.htmlto check the results
- Copy the text "Top 1 and 2 High performance computing" from
firefoxbrowserindex.html, open theindex.htmlusingvim, find "Top 1 and 2 High performance computing" and edit it, save the page
vim index.html
git add index.html
- Use
firefoxbrowser in your Macbook to openindex.htmlto check the results
git diff --cached
git commit -a -m "update ..."
git push