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