This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (69)
- # babashka (21)
- # beginners (246)
- # calva (49)
- # chlorine-clover (19)
- # circleci (3)
- # clj-kondo (38)
- # clj-new (5)
- # cljsrn (1)
- # clojure (52)
- # clojure-australia (2)
- # clojure-europe (41)
- # clojure-nl (5)
- # clojure-spec (4)
- # clojure-taiwan (2)
- # clojure-uk (28)
- # clojurescript (12)
- # crux (8)
- # cryogen (6)
- # cursive (6)
- # datahike (3)
- # fulcro (2)
- # garden (1)
- # graalvm (3)
- # hoplon (48)
- # jackdaw (6)
- # jobs (3)
- # kaocha (6)
- # malli (3)
- # off-topic (51)
- # rdf (1)
- # reagent (40)
- # reitit (32)
- # remote-jobs (1)
- # reveal (24)
- # shadow-cljs (21)
- # startup-in-a-month (5)
Hello! Am trying to deploy cryogen site with github pages. This is my repo https://github.com/zackteo/zackteo.github.io
Am just using the default lein template w some changes to
config.edn and removal of
Could anyone explain why there the site is not deploying? It seems based on the activity log it has been deployed?
Okay the hosting seems to work. But it I'm not sure whether cryogen is doing what it is supposed to do at this point :thinking_face:
In your current example, it seems like you are entirely bypassing cryogen. Your whole website is just based on your
index.html you have in your repo.
What you want to do is to have your cryogen repo (say
zackteo/myblog ) that contains the md or asciidoc files that are your blog pages. Then you run
lein run. That will create your whole blog under the
public folder in your
Then you copy over the files under the
public folder in your
myblog repo over to your
zackteo/zackteo.github.io repo and check them in on the
master branch of that repo. You now have a functioning blog at https://zackteo.github.io.
In case it is not clear, there are TWO repos - one to hold the source files to your blog (`zackteo/myblog`) and the other to host the blog on github (`zackteo/zackteo.github.io`).
You might find the following helpful http://cryogenweb.org/docs/deploying-to-github-pages.html (in particular, the sections on "Setting up User and Organization Pages" and Deploying to GitHub Pages". This is assuming you want a personal blog and not a project blog.
Another, slightly more complicated, alternative is to add a (say)
cryogen branch to the
zackteo/zackteo.github.io repo to contain your blog source. That way, you have just one repo, but two branches -
cryogen to contain the blog pages sources, and
master to contain the cryogen-generated blog files hosted at github pages.
That's what I do for http://corfield.org (http://seancorfield.github.io) -- I have a
cryogen source branch (with
.gitignore'd) and do
lein run to populate the
public folder which is where the main branch of the repo is.
So my process is: edit files in my
folder which is the on cryogen branch; preview/edit cycle until I'm happy; add/commit/push those source changes (cryogen branch);
lein run; then add/commit/push those generated changes (master branch), which updates http://corfield.org a few minutes later.