Commit 2fcfb7bb46

2fcfb7bb46f48ee12054827bba25ad3aca64597a

parent: 5896ffdb06

Unsigned

cmc <hello@cleberg.net> · 2024-03-29 06:51 UTC

format README

Layout: unified · split

README.org +13 −8
@@ -13,7 +13,8 @@ This website & blog uses [[https://orgmode.org/][Org-Mode]], published with [[ht
1313
1414** Configuration
1515
16Everything is configured within the =publish.el= file. Refer to the weblorg documentation for further configuration options.
16Everything is configured within the =publish.el= file. Refer to the weblorg
17documentation for further configuration options.
1718
1819** Building
1920
@@ -22,22 +23,26 @@ Local testing can be done via [[https://www.gnu.org/software/emacs/][Emacs]] or
2223To get running:
2324
2425#+begin_src shell
25git clone https://git.cleberg.net/cleberg.net.git
26cd cleberg.net
27emacs -nw
26git clone https://git.cleberg.net/cleberg.net.git cd cleberg.net emacs -nw
2827#+end_src
2928
30Within Emacs, open any of the repository files. In Doom, I do this with =Spc f f= and selecting =README.org=. Make any changes necessary to customize the project.
29Within Emacs, open any of the repository files. In Doom, I do this with =Spc f
30f= and selecting =README.org=. Make any changes necessary to customize the
31project.
3132
32To publish, you can use the =build.sh= script (change the deployment target!) or you can run the following commands.
33To publish, you can use the =build.sh= script (change the deployment target!) or
34you can run the following commands.
3335
34Use the =ENV= environment variable to determine which base URL weblorg will use. If ENV is ommitted, it will default to =localhost:8000=. If =ENV=prod=, weblorg will look in the =publish.el= file for the production base URL.
36Use the =ENV= environment variable to determine which base URL weblorg will use.
37If ENV is ommitted, it will default to =localhost:8000=. If =ENV=prod=, weblorg
38will look in the =publish.el= file for the production base URL.
3539
3640#+begin_src sh
3741ENV=prod emacs --script publish.el
3842#+end_src
3943
40The files will be published to the =.build= directory. You can deploy these files to the target through any number of methods, such as =scp= or SFTP.
44The files will be published to the =.build= directory. You can deploy these
45files to the target through any number of methods, such as =scp= or SFTP.
4146
4247** Tasks
4348