This is the repository for ECE5260 (Spring 22).
- Clone the
masterbranch of this repository
git clone -b master https://github.com/sinegit/sinegit.github.io.git- Install the dependencies specified in the Gemfile
bundle install- Build the website
bundle exec jekyll buildThis will create the destination directory _site/ and build the site into it.
- Add file contents to the index
git add -A- Commit the changes
git commit -m "Your message"- Push the commit to the
masterbranch
git push origin masterThe GitHub Pages site will be built from the gh-pages branch. Thus we need to push the _site folder to the gh-pages branch
- Change the current working directory to the
_sitedirectory
cd _site/- Tell GitHub Pages that there is no need to build (GitHub can build Jekyll site directly from the source, the
masterbranch, if it contains only supported plugins. We utilize some unsupported plugins.)
touch .nojekyll- Add our repository
git remote add origin https://github.com/sinegit/sinegit.github.io.git- Switch to the
gh-pagesbranch
git checkout -b gh-pages- Add file contents to the index
git add -A- Commit the changes
git commit -m "Your message"- Push the commit to the
gh-pagesbranch
git push origin gh-pagesTo run locally:
bundle exec jekyll serve