This is the static site for dlite.cc, powered by Jekyll, a Ruby static site generator. It is used for the public-facing parts of Booklet (homepage, blog, etc).
To create a new blog article:
git checkout -b blog/[INSERT TITLE]
- create a Git branch_posts
directory w/the same DATE-TITLE.md
format as other posts./img/posts/[INSERT TITLE]
. Reference these like ![INSERT DESCRIPTION](/img/posts/[INSERT TITLE]/image.png)
.git push
the branch and create a PR on GitHub. Netlify will build a preview. When ready to publish, merge the PR and the update will be deployed to https://booklet.ai.See the Jekyll docs on posts for more details.
git clone
this repocd
into the downloaded git reporvm install 2.6.2
- installs the required Ruby version via RVM. This will take a bit.bundle
to install Ruby dependencies.foreman start
- runs Jekyll on http://localhost:4000.
Pushing the master
branch automatically deploys the updates to Netlify
.