Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gregorias/gregorias.github.io
My blog
https://github.com/gregorias/gregorias.github.io
blog chirpy github-pages jekyll
Last synced: about 1 month ago
JSON representation
My blog
- Host: GitHub
- URL: https://github.com/gregorias/gregorias.github.io
- Owner: gregorias
- License: mit
- Created: 2016-09-24T14:32:23.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T11:25:25.000Z (2 months ago)
- Last Synced: 2024-10-21T14:02:00.164Z (2 months ago)
- Topics: blog, chirpy, github-pages, jekyll
- Language: Ruby
- Homepage:
- Size: 4.62 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Grzegorz Milka’s Blog
This is the source repository for my personal blog.
The blog is hosted on GitHub Pages at
[https://gregorias.github.io](https://gregorias.github.io) and uses
[Jekyll](https://jekyllrb.com/) for site generation.## Development
### Dev environment setup
1. Install [rbenv](https://github.com/rbenv/rbenv) and
[direnv](https://direnv.net/) and hook them into your shell.
1. Install Lefthook.```bash
lefthook install
```1. Allow `.envrc`.
```bash
direnv allow
```1. Install project dependencies:
```bash
rbenv install
gem install bundler
bundler install
```### Testing
To preview your drafts, run
```shell
jekyll serve --drafts
```This will run a local server instance with live updates.
### Build
To build the static website before release, run
```shell
jekyll build
```### Updating dependencies
#### Updating Ruby
To update the used Ruby version:
1. Update `.ruby-version`.
2. Update `.github/workflows/jekyll-build-and-deploy.yml`.
3. Clean currently generated files and regenerate them:```bash
git clean -xdf
bundler install
just build### Updating gems
To update the used Bundler, delete the lockfile and regenerate with
`bundler install`.