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
19following commands within Emacs: 19following commands within Emacs:
20 20
21#+begin_src sh 21#+begin_src sh
22git clone https://git.cleberg.net/cleberg.net.git && \ 22git clone https://github.com/ccleberg/cleberg.net.git && \
23cd cleberg.net && \ 23cd cleberg.net && \
24emacs -nw 24emacs -nw
25#+end_src 25#+end_src
@@ -39,7 +39,11 @@ If ENV is omitted, it will default to =localhost:8000=. If =ENV=prod=, weblorg
39will look in the =publish.el= file for the production base URL. 39will look in the =publish.el= file for the production base URL.
40 40
41#+begin_src sh 41#+begin_src sh
42# production:
42ENV=prod emacs --script publish.el 43ENV=prod emacs --script publish.el
44
45# development:
46emacs --script publish.el
43#+end_src 47#+end_src
44 48
45The resulting files can then be deployed to your desired target using any method 49The 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.
48Alternatively, you may prefer to utilize the provided =build.sh= script to 52Alternatively, you may prefer to utilize the provided =build.sh= script to
49automate this process. To do so, simply customize and run the script as needed. 53automate this process. To do so, simply customize and run the script as needed.
50 54
55#+begin_src sh
56# production:
57ENV=prod ./build.sh
58
59# development:
60./build.sh
61#+end_src
62
51*** Creating New Blog Posts 63*** Creating New Blog Posts
52 64
53To quickly create a new blog post within Emacs, follow these steps: 65To quickly create a new blog post within Emacs, follow these steps: