No more maintained - New blog repository available at https://github.com/SkypLabs/personal-blog
My personal blog made with Jekyll.
The fastest way to set up a development environment is to use Docker through Docker Compose:
docker-compose up -d
After that, a local instance of this blog will be available at http://localhost:4000/.
Gemfile.lock
To update Gemfile.lock
:
bundle lock --update
If bundle
is not installed on your system, you can execute it through the Docker container:
# To build the Docker image if not already done.
docker-compose build
docker run --rm -v $(pwd):/usr/src/app:z blogskyplabsnet_skyplabs-blog bundle lock --update
The gems' version in the Gemfile.lock
file should match those of GitHub Pages.
yarn.lock
To update yarn.lock
:
yarn upgrade
If yarn
is not installed on your system, you can execute it through the Docker container:
# To build the Docker image if not already done.
docker-compose build
docker run --rm -v $(pwd):/usr/src/app:z blogskyplabsnet_skyplabs-blog yarn upgrade
To verify the validity of the generated HTML source code:
bundle exec rake
If bundle
, jekyll
or htmlproofer
are not installed on your system, you can execute the script through the Docker container:
# To build the Docker image if not already done.
docker-compose build
docker run --rm -v $(pwd):/usr/src/app:z blogskyplabsnet_skyplabs-blog bundle exec rake
Below are the different steps to do before publishing a new post:
Dockerfile
and in .travis.yml
to match the one used by GitHub PagesGemfile.lock
yarn.lock
package.json
Steps 4
and 5
can be done by using bundle exec rake
.
All the articles and images are CC BY-NC 4.0 licensed. The rest is MIT licensed.