Last active
September 3, 2021 14:51
-
-
Save bilardi/6b6cdcfabed5e5976ba697544be714d6 to your computer and use it in GitHub Desktop.
how to convert site to jekyll without install jekyll
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*#*# | |
*~ | |
_site | |
.jekyll-metadata | |
docker-compose.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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