Commit bb22183d0a

bb22183d0a381949f560cb96fd8873a3197f6bc3

parent: 6399426e4b

Unsigned

cmc <hello@cleberg.net> · 2024-12-26 05:43 UTC
committer: <noreply@github.com>

fix git url and update code snippets

Layout: unified · split

README.org +13 −1
@@ -19,7 +19,7 @@ a local copy of the repository. This can be accomplished by running the
1919following commands within Emacs:
2020
2121#+begin_src sh
22git clone https://git.cleberg.net/cleberg.net.git && \
22git clone https://github.com/ccleberg/cleberg.net.git && \
2323cd cleberg.net && \
2424emacs -nw
2525#+end_src
@@ -39,7 +39,11 @@ If ENV is omitted, it will default to =localhost:8000=. If =ENV=prod=, weblorg
3939will look in the =publish.el= file for the production base URL.
4040
4141#+begin_src sh
42# production:
4243ENV=prod emacs --script publish.el
44
45# development:
46emacs --script publish.el
4347#+end_src
4448
4549The resulting files can then be deployed to your desired target using any method
@@ -48,6 +52,14 @@ of your choice, such as =scp= or SFTP.
4852Alternatively, you may prefer to utilize the provided =build.sh= script to
4953automate this process. To do so, simply customize and run the script as needed.
5054
55#+begin_src sh
56# production:
57ENV=prod ./build.sh
58
59# development:
60./build.sh
61#+end_src
62
5163*** Creating New Blog Posts
5264
5365To quickly create a new blog post within Emacs, follow these steps: