cmc/cleberg.net
My personal web garden & blog.
clone: git clone https://gitbay.org/cmc/cleberg.net.git
bb22183d0a381949f560cb96fd8873a3197f6bc3
unsigned
author: Christian Cleberg <hello@cleberg.net> · 2024-12-26T05:43:44Z
committer: <noreply@github.com>
README.org | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) @@ -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: