diff options
author | Christian Cleberg <156287552+ccleberg@users.noreply.github.com> | 2024-12-25 23:43:44 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-25 23:43:44 -0600 |
commit | ee7ef7d860e3505e34cfe2070a46b1ecd7f80a11 (patch) | |
tree | e4a8b5edb4af48538e6c69e0b85591fdf08704a9 | |
parent | 210a6eb6f0e18b394a1c193f9bc9b5bfa7ab46b8 (diff) | |
download | cleberg.net-ee7ef7d860e3505e34cfe2070a46b1ecd7f80a11.tar.gz cleberg.net-ee7ef7d860e3505e34cfe2070a46b1ecd7f80a11.tar.bz2 cleberg.net-ee7ef7d860e3505e34cfe2070a46b1ecd7f80a11.zip |
fix git url and update code snippets
-rw-r--r-- | README.org | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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: |