aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <156287552+ccleberg@users.noreply.github.com>2024-12-25 23:43:44 -0600
committerGitHub <noreply@github.com>2024-12-25 23:43:44 -0600
commitee7ef7d860e3505e34cfe2070a46b1ecd7f80a11 (patch)
treee4a8b5edb4af48538e6c69e0b85591fdf08704a9
parent210a6eb6f0e18b394a1c193f9bc9b5bfa7ab46b8 (diff)
downloadcleberg.net-ee7ef7d860e3505e34cfe2070a46b1ecd7f80a11.tar.gz
cleberg.net-ee7ef7d860e3505e34cfe2070a46b1ecd7f80a11.tar.bz2
cleberg.net-ee7ef7d860e3505e34cfe2070a46b1ecd7f80a11.zip
fix git url and update code snippets
-rw-r--r--README.org14
1 files changed, 13 insertions, 1 deletions
diff --git a/README.org b/README.org
index e1765c6..da488f7 100644
--- a/README.org
+++ b/README.org
@@ -19,7 +19,7 @@ a local copy of the repository. This can be accomplished by running the
following commands within Emacs:
#+begin_src sh
-git clone https://git.cleberg.net/cleberg.net.git && \
+git clone https://github.com/ccleberg/cleberg.net.git && \
cd cleberg.net && \
emacs -nw
#+end_src
@@ -39,7 +39,11 @@ If ENV is omitted, it will default to =localhost:8000=. If =ENV=prod=, weblorg
will look in the =publish.el= file for the production base URL.
#+begin_src sh
+# production:
ENV=prod emacs --script publish.el
+
+# development:
+emacs --script publish.el
#+end_src
The 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.
Alternatively, you may prefer to utilize the provided =build.sh= script to
automate this process. To do so, simply customize and run the script as needed.
+#+begin_src sh
+# production:
+ENV=prod ./build.sh
+
+# development:
+./build.sh
+#+end_src
+
*** Creating New Blog Posts
To quickly create a new blog post within Emacs, follow these steps: