From ee7ef7d860e3505e34cfe2070a46b1ecd7f80a11 Mon Sep 17 00:00:00 2001 From: Christian Cleberg <156287552+ccleberg@users.noreply.github.com> Date: Wed, 25 Dec 2024 23:43:44 -0600 Subject: fix git url and update code snippets --- README.org | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'README.org') 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: -- cgit v1.2.3-70-g09d2