An open API service indexing awesome lists of open source software.

https://github.com/jokecamp/jokecamp.com

personal blog and website
https://github.com/jokecamp/jokecamp.com

blog csharp developer jekyll joe markdown nodejs

Last synced: 28 days ago
JSON representation

personal blog and website

Awesome Lists containing this project

README

          

## Joe Kampschmidt's (Joe's Code) Personal Website/Blog

Source code for

The website is a static site built with [Poole](https://github.com/poole/poole) and [Jekyll](http://jekyllrb.com).

To test change to the project directory and run the following command

jekyll serve --watch

Then browse to

Pull requests will be accepted for any typos or editing and your contribution will be credited.

## Build

`jekyll build`

## Asset Pipeline

https://github.com/matthodan/jekyll-asset-pipeline/blob/master/README.md

- gem install jekyll-asset-pipeline
- gem install yui-compressor

## Script to Compress static content

See

Run on unix web server
```
#!/usr/local/bin/perl

# This script should be uploaded to the web server.

use warnings;
use strict;
use File::Find;
find (\&wanted, ("."));
sub wanted
{
if (/(.*\.(?:html|htm|css|js)$)/i) {
print "Compressing $File::Find::name\n";
system ("gzip --keep --best --force $_");
}
}
```

## To Deploy

```
jekyll serve
git commit -m "
git push origin master
./deploy.sh
```

https://jekyllrb.com/docs/installation/macos/
```
brew install chruby ruby-install
ruby-install ruby 3.3.5
echo "source $(brew --prefix)/opt/chruby/share/chruby/chruby.sh" >> ~/.zshrc
echo "source $(brew --prefix)/opt/chruby/share/chruby/auto.sh" >> ~/.zshrc
echo "chruby ruby-3.3.5" >> ~/.zshrc # run 'chruby' to see actual version
chruby
gem install jekyll
jekyll --version
# 4.3.4
```