InAnYan/blog.jabref.org · 文件
文件最后提交记录最后更新时间
README.md
JabRef's blog
This repository contains the source of the JabRef blog.
Feel free to send blog entries. Find details in our CONTRIBUTING.md file.
The layout is based on Chirpy. We use Jekyll as static site generator. See GitHub pages for more details on the mechanics behind.
Local Development
For local development, follow the Jekyll installation instructions.
Installing the latest version of ruby followed by gem install bundler should be enough.
Afterwards, run
bundle install
jekyll serve --livereload
and go to http://localhost:4000/ in your browser.
On Windows, using a dockerized environment is recommended:
docker run -p 4000:4000 --rm --volume="C:\git-repositories\blog.jabref.org":/srv/jekyll jekyll/jekyll:4 jekyll serve
In case you get errors regarding Gemfile.lock, just delete Gemfile.lock and rerun.
Incremental building is also possible:
docker run -p 4000:4000 --rm --volume="C:\git-repositories\blog.jabref.org":/srv/jekyll jekyll/jekyll:4 jekyll serve --incremental
Updating the theme
- Update
Gemfile - Update assets:
cd assets/libgit pullcd ../..
- git commit and PR creation
- In case build fails because of missing assets, roll back the assets to the commit matching the release version of the theme.