Skip to content

Instantly share code, notes, and snippets.

@bilardi
Last active September 3, 2021 14:51
Show Gist options
  • Save bilardi/6b6cdcfabed5e5976ba697544be714d6 to your computer and use it in GitHub Desktop.
Save bilardi/6b6cdcfabed5e5976ba697544be714d6 to your computer and use it in GitHub Desktop.
how to convert site to jekyll without install jekyll
# Convert an HTML site to Jekyll
When your site is already a static web site, is simple:
- you can download your site by https://github.com/bilardi/siteclone
- you can follow the guide on https://jekyllrb.com/tutorials/convert-site-to-jekyll/
## If you don't want to install jekyll on your client
I prefer to install only what is necessary on my client, so I use docker for everything else.
In this case, I add the docker-compose.yml file on the git repository and I use it with:
```
$ docker-compose up
```
*#*#
*~
_site
.jekyll-metadata
docker-compose.yml
jekyll:
image: jekyll/jekyll
command: jekyll serve --watch --incremental
ports:
- 4000:4000
volumes:
- ${PWD}:/srv/jekyll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment