This is the repository for ECE5260 (Spring 22).
- Clone the
master
branch 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 build
This 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
master
branch
git push origin master
The 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
_site
directory
cd _site/
- Tell GitHub Pages that there is no need to build (GitHub can build Jekyll site directly from the source, the
master
branch, 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-pages
branch
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-pages
branch
git push origin gh-pages
To run locally:
bundle exec jekyll serve